瀏覽代碼

Remove unused `PHI` define in math funcs

Andrii Doroshenko (Xrayez) 4 年之前
父節點
當前提交
34ca426851
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      core/math/math_funcs.cpp

+ 0 - 2
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();