Ignore:
Timestamp:
Jan 2, 2013, 1:53:39 PM (7 years ago)
Author:
sam
Message:

math: implement fract() for vectors and scalar types.

File:
1 edited

Legend:

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

    r2183 r2192  
    126126    return (half)fmod((float)a, (float)b);
    127127}
     128static inline half fract(half a) { return (half)fract((float)a); }
    128129static inline half abs(half a) { return half::makebits(a.bits & 0x7fffu); }
    129130
Note: See TracChangeset for help on using the changeset viewer.