![]() |
Raven Engine v0.1
|
Provides the Random facade for various random number utilities. More...
#include "Crux/Random/RandomEngine.h"Classes | |
| class | Crux::Random |
| Static wrapper around RandomEngine for convenience. More... | |
Namespaces | |
| namespace | Crux |
Provides the Random facade for various random number utilities.
The Random class wraps a PCG32-based RandomEngine and exposes easy-to-use static methods for generating integers, floats, doubles, and 64-bit values. Supports optional seeding for reproducibility.
Example usage: Crux::Random::Seed(42ULL); float r1 = Crux::Random::Float(); int r2 = Crux::Random::Int(100); u64 uuid = Crux::Random::U64();