#include <random>
#include "cinder/Vector.h"
Go to the source code of this file.
|
void | cinder::randSeed (unsigned long seedValue) |
| Resets the static random generator to the specific seed seedValue. More...
|
|
bool | cinder::randBool () |
| returns a random boolean value More...
|
|
int32_t | cinder::randInt () |
| returns a random integer in the range [0,2147483647] More...
|
|
int32_t | cinder::randInt (int32_t v) |
| returns a random integer in the range [0,v) More...
|
|
int32_t | cinder::randInt (int32_t a, int32_t b) |
| returns a random integer in the range [a,b) More...
|
|
float | cinder::randFloat () |
| returns a random float in the range [0.0f,1.0f] More...
|
|
float | cinder::randFloat (float v) |
| returns a random float in the range [0.0f,v] More...
|
|
float | cinder::randFloat (float a, float b) |
| returns a random float in the range [a,b] More...
|
|
float | cinder::randPosNegFloat (float a, float b) |
| returns a random float in the range [a,b] or the range [-b,-a] More...
|
|
Vec3f | cinder::randVec3f () |
| returns a random Vec3f that represents a point on the unit sphere More...
|
|
Vec2f | cinder::randVec2f () |
| returns a random Vec2f that represents a point on the unit circle More...
|
|
float | cinder::randGaussian () |
| returns a random float via Gaussian distribution More...
|
|