Ignore:
Timestamp:
Jan 25, 2013, 5:14:56 PM (7 years ago)
Author:
touky
Message:

Small fix in template lerp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lol/math/vector.h

    r2216 r2279  
    12871287        tname<tf> ret; \
    12881288        for (size_t n = 0; n < sizeof(a) / sizeof(t1); n++) \
    1289             ret[n] = a[n] + (a[n] - b[n]) * x; \
     1289            ret[n] = a[n] + (b[n] - a[n]) * x; \
    12901290        return ret; \
    12911291    }
Note: See TracChangeset for help on using the changeset viewer.