Files
neat/Random.h
T
2010-09-30 15:23:17 -07:00

15 lines
337 B
C

#ifndef __Random_h__
#define __Random_h__
int RandomRange(int min, int max); // [min,max]
float RandomFloatRange(float min, float max);
float RandomWeight();
float RandomPreturbation();
bool RandomBool();
bool RandomChance(float pSuccess);
int RandomZeroBiased(int max);
int Roulette(int n, ...);
#endif // __Random_h__