#include "random_utils.h"
#include <chrono>
#include <cstdlib>
namespace angle
{
RNG::RNG()
{ … }
RNG::RNG(unsigned int seed) : … { … }
RNG::~RNG() { … }
void RNG::reseed(unsigned int newSeed)
{ … }
bool RNG::randomBool(float probTrue)
{ … }
int RNG::randomInt()
{ … }
int RNG::randomIntBetween(int min, int max)
{ … }
unsigned int RNG::randomUInt()
{ … }
float RNG::randomFloat()
{ … }
float RNG::randomFloatBetween(float min, float max)
{ … }
float RNG::randomFloatNonnegative()
{ … }
float RNG::randomNegativeOneToOne()
{ … }
}