summaryrefslogtreecommitdiff
path: root/core/math/math_funcs.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-11-13 09:37:31 +0100
committerGitHub <noreply@github.com>2018-11-13 09:37:31 +0100
commita9f6bbe1fb0a3e83b3f99292e287ee0479aee2bc (patch)
tree2142d05afadadad7d0d7edf3e52d9b9b2bcb0b87 /core/math/math_funcs.h
parent8849d3b47de8ab936549f0b9262c1193164feee5 (diff)
parentf8151a9e5042ad3de64589f77cb108872694469c (diff)
Merge pull request #22314 from Chaosus/rng
Random number generator(remake)
Diffstat (limited to 'core/math/math_funcs.h')
-rw-r--r--core/math/math_funcs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/math/math_funcs.h b/core/math/math_funcs.h
index 65c318448c..f9d89d5d5a 100644
--- a/core/math/math_funcs.h
+++ b/core/math/math_funcs.h
@@ -32,6 +32,7 @@
#define MATH_FUNCS_H
#include "core/math/math_defs.h"
+#include "core/math/random_pcg.h"
#include "core/typedefs.h"
#include "thirdparty/misc/pcg.h"
@@ -41,7 +42,7 @@
class Math {
- static pcg32_random_t default_pcg;
+ static RandomPCG default_rand;
public:
Math() {} // useless to instance