Merge pull request #8973 from thomas-goerlich/8957_rand_range_bugfix
Fixed rand_range not returning correct random values on windows
This commit is contained in:
commit
5a6d4971e1
1 changed files with 1 additions and 3 deletions
|
@ -51,9 +51,7 @@ class Math {
|
||||||
public:
|
public:
|
||||||
Math() {} // useless to instance
|
Math() {} // useless to instance
|
||||||
|
|
||||||
enum {
|
static const uint64_t RANDOM_MAX = 4294967295;
|
||||||
RANDOM_MAX = 4294967295L
|
|
||||||
};
|
|
||||||
|
|
||||||
static _ALWAYS_INLINE_ double sin(double p_x) { return ::sin(p_x); }
|
static _ALWAYS_INLINE_ double sin(double p_x) { return ::sin(p_x); }
|
||||||
static _ALWAYS_INLINE_ float sin(float p_x) { return ::sinf(p_x); }
|
static _ALWAYS_INLINE_ float sin(float p_x) { return ::sinf(p_x); }
|
||||||
|
|
Loading…
Reference in a new issue