From f8151a9e5042ad3de64589f77cb108872694469c Mon Sep 17 00:00:00 2001 From: Chaosus Date: Fri, 21 Sep 2018 14:32:17 +0300 Subject: Implement random number generator Co-authored-by: Zirak --- core/math/math_funcs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/math/math_funcs.h') 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 -- cgit v1.2.3