![]() |
xyginext
0.2.0
Second generation of xygine game creation framework
|
Functions | |
template<typename T > | |
static T | clamp (const T &n, const T &lower, const T &upper) |
Clamps a given value to the given upper and lower bounds. | |
static float | round (float v) |
Rounds a floating point value to the nearest whole number. | |
static float | shortestRotation (float start, float end) |
finds the shortest rotation, in degrees, between the given start and end angles | |
Math util functions.