#include <Random.h>
Public Member Functions | |
LcgRandom (AZ::u64 seed=1234) | |
void | SetSeed (AZ::u64 seed) |
AZ::u64 | GetSeed () const |
unsigned int | GetRandom () |
float | GetRandomFloat () |
A very simple and fast LCG random number generator, useful if you need a fast pseudo-random sequence and don't really care about the quality of the sequence. This is similar to the SimpleLcgRandom class in AZ with a few modification.