cocos2d-x
3.3
|
Classes | |
class | RandomHelper |
Namespaces | |
cocos2d | |
Add deprecated global functions and variables here. | |
Functions | |
template<typename T > | |
T | random (T min, T max) |
returns a random value between min and max More... | |
template<> | |
float | random (float min, float max) |
template<> | |
long double | random (long double min, long double max) |
template<> | |
double | random (double min, double max) |
int | random () |
Returns a random int between 0 and RAND_MAX. More... | |
float | rand_minus1_1 () |
Returns a random float between -1 and 1. More... | |
float | rand_0_1 () |
Returns a random float between 0 and 1. More... | |