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