summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrii Doroshenko (Xrayez) <xrayez@gmail.com>2020-11-05 18:05:58 +0200
committerAndrii Doroshenko (Xrayez) <xrayez@gmail.com>2020-11-05 18:05:58 +0200
commit34ca426851255ca4c80cf3af0303cf0079559b02 (patch)
tree0f5464da9868979a5b6610878c55235540ac4e39
parent494bf38c76d3070c548a104d56d9f7e164226f1c (diff)
Remove unused `PHI` define in math funcs
-rw-r--r--core/math/math_funcs.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/math/math_funcs.cpp b/core/math/math_funcs.cpp
index 1585c96b38..4154713a87 100644
--- a/core/math/math_funcs.cpp
+++ b/core/math/math_funcs.cpp
@@ -34,8 +34,6 @@
RandomPCG Math::default_rand(RandomPCG::DEFAULT_SEED, RandomPCG::DEFAULT_INC);
-#define PHI 0x9e3779b9
-
uint32_t Math::rand_from_seed(uint64_t *seed) {
RandomPCG rng = RandomPCG(*seed, RandomPCG::DEFAULT_INC);
uint32_t r = rng.rand();