Ignore:
Timestamp:
Aug 29, 2012, 10:27:53 PM (8 years ago)
Author:
touky
Message:
 
File:
1 edited

Legend:

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

    r1513 r1833  
    6565}
    6666
     67static inline double lerp(double const &a, double const &b, double const &x)
     68{
     69        return a + (b - a) * x;
     70}
     71static inline float lerp(float const &a, float const &b, float const &x)
     72{
     73        return a + (b - a) * x;
     74}
     75
     76
    6777/* These accelerated functions will be merged into the above, one day */
    6878double lol_sin(double);
Note: See TracChangeset for help on using the changeset viewer.