wavelength 1.0.0
Loading...
Searching...
No Matches
random.h
Go to the documentation of this file.
1#pragma once
2
9class Random {
10public:
18 static void Seed(unsigned int seed);
19
29 static int Range(int low, int high);
30
31private:
32 static unsigned int sSeed;
33};
A linear congruential random number generator.
Definition random.h:9
static int Range(int low, int high)
Draw a number from a range, advancing the generator two steps.
static void Seed(unsigned int seed)
Seed the generator.