Changed enum to const because enum with uint64 size does not work on VSC++ Compiler

This commit is contained in:
Thomas Görlich 2017-05-29 23:37:00 +02:00
parent c814d65fae
commit 2c6449c4fc

View File

@ -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); }