Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
Go to the source code of this file.
Macros | |
#define | HAVE_ISNORMAL 1 |
Functions | |
template<class T > | |
const T & | csMax (const T &a, const T &b) |
template<class T > | |
const T & | csMin (const T &a, const T &b) |
template<class T > | |
void | csSort (T &a, T &b) |
template<class T , class U > | |
void | csSort (T &a, T &b, U &x, U &y) |
template<class T > | |
T | csClamp (const T &a, T max, T min) |
template<class T > | |
T | csSmoothStep (const T &a, T max, T min) |
template<class T , class Tfactor > | |
T | csLerp (const T &a, const T &b, const Tfactor &f) |
template<class T > | |
T | csSquare (const T &x) |
CS_FORCEINLINE bool | csFinite (float f) |
Checks if a floating point value is finite. More... | |
CS_FORCEINLINE bool | csFinite (double d) |
Checks if a double-precision floating point value is finite. More... | |
CS_FORCEINLINE bool | csNaN (float f) |
Checks if a floating point value is not-a-number. More... | |
CS_FORCEINLINE bool | csNaN (double d) |
Checks if a double-precision floating point value is not-a-number. More... | |
CS_FORCEINLINE bool | csNormal (float f) |
Checks if a floating point value is normal (not infinite or nan). More... | |
CS_FORCEINLINE bool | csNormal (double d) |
Checks if a double-precision floating point value is normal. More... | |
Generic mathematic utility functions.
Definition in file opmath.h.