You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-06 17:25:19 +00:00
Remove unused PHI define in math funcs
This commit is contained in:
@@ -34,8 +34,6 @@
|
|||||||
|
|
||||||
RandomPCG Math::default_rand(RandomPCG::DEFAULT_SEED, RandomPCG::DEFAULT_INC);
|
RandomPCG Math::default_rand(RandomPCG::DEFAULT_SEED, RandomPCG::DEFAULT_INC);
|
||||||
|
|
||||||
#define PHI 0x9e3779b9
|
|
||||||
|
|
||||||
uint32_t Math::rand_from_seed(uint64_t *seed) {
|
uint32_t Math::rand_from_seed(uint64_t *seed) {
|
||||||
RandomPCG rng = RandomPCG(*seed, RandomPCG::DEFAULT_INC);
|
RandomPCG rng = RandomPCG(*seed, RandomPCG::DEFAULT_INC);
|
||||||
uint32_t r = rng.rand();
|
uint32_t r = rng.rand();
|
||||||
|
|||||||
Reference in New Issue
Block a user