29 #ifndef THOR_RANDOM_HPP
30 #define THOR_RANDOM_HPP
43 int THOR_API
random(
int min,
int max);
47 unsigned int THOR_API
random(
unsigned int min,
unsigned int max);
51 float THOR_API
random(
float min,
float max);
55 float THOR_API
randomDev(
float middle,
float deviation);
66 #endif // THOR_RANDOM_HPP
float random(float min, float max)
Returns a float random number in the interval [min, max].
Definition: Animator.hpp:42
Configuration header of the library.
float randomDev(float middle, float deviation)
Returns a float random number in the interval [middle-deviation, middle+deviation].
void setRandomSeed(unsigned long seed)
Sets the seed of the random number generator.