Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Low randomness, quite-a-lot-faster-than-std::mt19937 random number generator. More...
Public Types | |
using | result_type = u32 |
Public Member Functions | |
CFastRand () | |
CFastRand (result_type init) | |
result_type | operator() () |
Static Public Member Functions | |
static constexpr result_type | min () |
static constexpr result_type | max () |
static result_type | Rand (result_type &seed) |
static float | RandFloat (result_type &seed, float min, float max) |
Public Attributes | |
result_type | m_Seed |
Low randomness, quite-a-lot-faster-than-std::mt19937 random number generator.
It matches the interface of UniformRandomBitGenerator for use in std::shuffle.
using CFastRand::result_type = u32 |
|
inline |
|
inline |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inline |
|
inlinestatic |
|
inlinestatic |
result_type CFastRand::m_Seed |