The 'super-duper' random number generator with shuffle (an LCG).
Cheap and a good LCG, but will still perform poorly with some modulos.
Name | Description |
---|---|
operator()() | Gets the next random number. |
SimpleRNG(u32) | Creates a SimpleRNG with the given seed. |
public: u32 operator()()
Gets the next random number.
public: SimpleRNG
(
u32 seed
)
Creates a SimpleRNG with the given seed.