Open Lighting Architecture
0.10.4
|
Math helper functions.
Functions | |
void | InitRandom () |
Seed the random number generator. | |
int | Random (int lower, int upper) |
Return a random number between lower and upper, inclusive. i.e. [lower, upper]. More... | |
int ola::math::Random | ( | int | lower, |
int | upper | ||
) |
Return a random number between lower and upper, inclusive. i.e. [lower, upper].
lower | the lower bound of the range the random number should be within |
upper | the upper bound of the range the random number should be within |