Definition at line 9 of file Random.hh.
|
static constexpr u64 | A = 0x690379B2B2E3D431 |
|
static constexpr u32 | C = 0x508EBD |
|
static constexpr f32 | MUL = 1.0f / 4294967296.0f |
|
◆ Random()
System::Random::Random |
( |
u32 | seed | ) |
|
|
inline |
◆ getF32() [1/2]
f32 System::Random::getF32 |
( |
| ) |
|
|
inlinenodiscard |
◆ getF32() [2/2]
f32 System::Random::getF32 |
( |
f32 | range | ) |
|
|
inlinenodiscard |
◆ getU32() [1/2]
u32 System::Random::getU32 |
( |
| ) |
|
|
inlinenodiscard |
◆ getU32() [2/2]
u32 System::Random::getU32 |
( |
u32 | range | ) |
|
|
inlinenodiscard |
◆ next()
void System::Random::next |
( |
| ) |
|
|
inline |
u64 System::Random::A = 0x690379B2B2E3D431 |
|
staticconstexprprivate |
u32 System::Random::C = 0x508EBD |
|
staticconstexprprivate |
◆ m_seed
u64 System::Random::m_seed |
|
private |
◆ m_x
◆ MUL
f32 System::Random::MUL = 1.0f / 4294967296.0f |
|
staticconstexprprivate |