#include <PVLE/Export.h>
#include <stdlib.h>
Go to the source code of this file.
Functions | |
PVLE_EXPORT void | srand () |
Initializes ranndom seed with current time. | |
float | rand (float max) |
Returns a random number in [0;max[. | |
float | rand (float min, float max) |
Returns a random number in [min;max[. |
float rand | ( | float | min, | |
float | max | |||
) | [inline] |
float rand | ( | float | max | ) | [inline] |
Returns a random number in [0;max[.
Definition at line 36 of file Rand.h.
Referenced by CloudParams::CloudParams(), createCloud(), rand(), CameraShakeParams::setAnglesRandom(), and CameraShake::updateCameras().
PVLE_EXPORT void srand | ( | ) |