- clamp
- nextRandomFloat
Returns a random float between 0 and 1.
- cos
Returns cos of a value.
- floor
Faster floor function. Does not handle NaN and Infinity. (Not handled when doing
Math.floor and just
- sin
Returns sine of a value. note: code from wiki posting on java.net by jeffpk
- sqrt
- isPowerOfTwo
Returns true if the number is a power of 2 (2,4,8,16...) A good implementation
found on the Java boa
- lerp
- nextRandomDouble
Returns a random double between 0 and 1.
- tan
- moduloPositive
- nextRandomInt
Returns a random int between min and max.