Functions for random number generation. More...
Go to the source code of this file.
Functions | |
int | thor::Random (int begin, int end) |
Returns an int random number in the interval [begin, end]. | |
int | thor::RandomDev (int middle, int deviation) |
Returns an int random number in the interval [middle-deviation, middle+deviation]. | |
float | thor::Random (float begin, float end) |
Returns a float random number in the interval [begin, end]. | |
float | thor::RandomDev (float middle, float deviation) |
Returns a float random number in the interval [middle-deviation, middle+deviation]. | |
void | thor::SetRandomSeed (unsigned long seed) |
Sets the seed of the random number generator. |
Functions for random number generation.