Functions | |
double | RadToDeg (double val) |
Convert radians to degrees. | |
float | RadToDeg (float val) |
Convert radians to degrees. | |
double | DegToRad (double val) |
Convert degrees to radians. | |
float | DegToRad (float val) |
Convert degrees to radians. | |
int | IsNotANumber (float f) |
Determines if given float is encoding for not a number (NAN). | |
double | Sign (double val) |
Determine the sign of a number. | |
float | Sign (float val) |
Determine the sign of a number. | |
int32 | Sign (int32 val) |
Determine the sign of a number. | |
template<class T> | |
T | Clamp (T val, T mn, T mx) |
Clamp the specified object within a range specified by two other objects of the same class. | |
Variables | |
const double | Pi = 3.14159 |
Mathematical value of pi to 5 decimals. |
|
Clamp the specified object within a range specified by two other objects of the same class. Clamp refers to setting a value within a given range. If the value is lower than the minimum of the range, it is set to the minimum; same for the maximum.
|
|
Convert degrees to radians.
|
|
Convert degrees to radians.
|
|
Determines if given float is encoding for not a number (NAN).
|
|
Convert radians to degrees.
|
|
Convert radians to degrees.
|
|
Determine the sign of a number.
|
|
Determine the sign of a number.
|
|
Determine the sign of a number.
|