MRandomGenerator
Base class for random number generators.
Protected Functions
Public Functions
Detailed Description
Base class for random number generators.
Protected Attributes
S32 mSeed
Protected Functions
MRandomGenerator()
Public Functions
~MRandomGenerator()
getSeed()
randF(F32 i, F32 n)
i..n F32 random number generator
randF(void )
0.0 .. 1.0 F32 random number generator
randI(S32 i, S32 n)
i..n integer random number generator
randI(void )
0..2^31 random number generator
Reimplemented by: MRandomR250, MRandomLCG
setSeed()
setSeed(S32 s)
Reimplemented by: MRandomLCG, MRandomR250