This is the documentation for Enlighten.
class Geo GoodRNG
class Geo::GoodRNG
A Mersenne Twister RNG.
High quality, but not blazing fast and each instance is about 2.5k.
Functions
Name | Description |
---|---|
GoodRNG(u32) | Creates a GoodRNG with the given seed. |
operator()() | Gets the next random number. |
Geo::GoodRNG::GoodRNG
public: GoodRNG
(
  u32 seed
)
Creates a GoodRNG with the given seed.
u32 Geo::GoodRNG::operator()
public: u32 operator()()
Gets the next random number.