15 #ifndef RC_MATH_OTHER_H 16 #define RC_MATH_OTHER_H 72 #endif // RC_MATH_OTHER_H float rc_get_random_float(void)
Returns a random floating point number between -1 and 1.
int rc_saturate_double(double *val, double min, double max)
Modifies val to be bounded between between min and max.
double rc_get_random_double(void)
Returns a random double-precision floating point number between -1 and 1.
#define min(a, b)
Definition: rc_usefulincludes.h:73
int rc_saturate_float(float *val, float min, float max)
Modifies val to be bounded between between min and max.