This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.

  • No labels