Expose randfn to global scope
This commit is contained in:
parent
3c04522ece
commit
a74acca858
9 changed files with 108 additions and 56 deletions
|
|
@ -318,6 +318,7 @@ public:
|
|||
static uint32_t rand();
|
||||
static _ALWAYS_INLINE_ double randd() { return (double)rand() / (double)Math::RANDOM_32BIT_MAX; }
|
||||
static _ALWAYS_INLINE_ float randf() { return (float)rand() / (float)Math::RANDOM_32BIT_MAX; }
|
||||
static double randfn(double mean, double deviation);
|
||||
|
||||
static double random(double from, double to);
|
||||
static float random(float from, float to);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue