Changeset 660


Ignore:
Timestamp:
May 15, 2011, 5:31:07 PM (9 years ago)
Author:
Sam Hocevar
Message:

lol: import a newer matrix.h from Lol Engine r768.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/lol/matrix.h

    r555 r660  
    101101        for (int n = 0; n < elems; n++) \
    102102            ret[n] = static_cast<U>((*this)[n]); \
     103        return ret; \
     104    } \
     105    \
     106    inline Vec##elems<T> operator -() const \
     107    { \
     108        Vec##elems<T> ret; \
     109        for (int n = 0; n < elems; n++) \
     110            ret[n] = -(*this)[n]; \
    103111        return ret; \
    104112    } \
Note: See TracChangeset for help on using the changeset viewer.