Changed enum to const because enum with uint64 size does not work on VSC++ Compiler
This commit is contained in:
parent
c814d65fae
commit
2c6449c4fc
@ -51,9 +51,7 @@ class Math {
|
||||
public:
|
||||
Math() {} // useless to instance
|
||||
|
||||
enum {
|
||||
RANDOM_MAX = 4294967295L
|
||||
};
|
||||
static const uint64_t RANDOM_MAX = 4294967295;
|
||||
|
||||
static _ALWAYS_INLINE_ double sin(double p_x) { return ::sin(p_x); }
|
||||
static _ALWAYS_INLINE_ float sin(float p_x) { return ::sinf(p_x); }
|
||||
|
Loading…
Reference in New Issue
Block a user