From 34ca426851255ca4c80cf3af0303cf0079559b02 Mon Sep 17 00:00:00 2001 From: "Andrii Doroshenko (Xrayez)" Date: Thu, 5 Nov 2020 18:05:58 +0200 Subject: [PATCH] Remove unused `PHI` define in math funcs --- core/math/math_funcs.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/math/math_funcs.cpp b/core/math/math_funcs.cpp index 1585c96b388..4154713a873 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();