#include <EGRandom.h>
Static Public Methods | |
unsigned long | NextInt () |
Returns a random unsigned long value in the interval [0, 0xffffffff]. | |
int | NextInt (int from, int to) |
Returns a random integer value in the interval [from, to]. | |
double | NextReal () |
Returns a random double value in the interval [0,1). | |
void | SetSeed (unsigned) |
Initializes a seed. | |
void | SaveSeed (const char *) |
Saves random seeds. | |
void | LoadSeed (const char *) |
Loads random seeds. |
|
Loads random seeds.
|
|
Returns a random integer value in the interval [from, to].
|
|
Returns a random unsigned long value in the interval [0, 0xffffffff].
|
|
Returns a random double value in the interval [0,1).
|
|
Saves random seeds.
|
|
Initializes a seed.
|