#include <Random.h>
|
static void | SetSeed (int seed) |
|
static double | Get (double l=0.0, double r=1.0) |
|
template<typename T > |
static vec2< T > | Get (double l=0.0, double r=1.0) |
|
template<typename T > |
static vec3< T > | Get (double l=0.0, double r=1.0) |
|
template<typename T > |
static vec4< T > | Get (double l=0.0, double r=1.0) |
|
|
static void | InitTime (bool useSeed=true) |
|
◆ Get() [1/4]
static double Random::Get |
( |
double |
l = 0.0 , |
|
|
double |
r = 1.0 |
|
) |
| |
|
inlinestatic |
Getter for random number between (including borders) l and r
- Parameters
-
- Returns
◆ Get() [2/4]
template<typename T >
static vec2< T > Random::Get |
( |
double |
l = 0.0 , |
|
|
double |
r = 1.0 |
|
) |
| |
|
inlinestatic |
random number generator for 2D-vectors
- Template Parameters
-
- Parameters
-
- Returns
◆ Get() [3/4]
template<typename T >
static vec3< T > Random::Get |
( |
double |
l = 0.0 , |
|
|
double |
r = 1.0 |
|
) |
| |
|
inlinestatic |
RNG for 3d vectors
- Template Parameters
-
- Parameters
-
- Returns
◆ Get() [4/4]
template<typename T >
static vec4< T > Random::Get |
( |
double |
l = 0.0 , |
|
|
double |
r = 1.0 |
|
) |
| |
|
inlinestatic |
RNG for vec4
- Template Parameters
-
- Parameters
-
- Returns
◆ InitTime()
static void Random::InitTime |
( |
bool |
useSeed = true | ) |
|
|
inlinestaticprivate |
initialize and set seed
- Parameters
-
◆ SetSeed()
static void Random::SetSeed |
( |
int |
seed | ) |
|
|
inlinestatic |
sets seed to given value
- Parameters
-
The documentation for this class was generated from the following file: