Function rc_get_random_float¶
Defined in File other.h
Function Documentation¶
-
float rc_get_random_float(void)¶
Returns a random floating point number between -1 and 1.
Uses standard C rand function and bitwise operations which is much faster than doing floating point arithmetic.
- Returns
random floating point number between -1 and 1