mirror of
https://github.com/godotengine/godot
synced 2024-09-05 06:18:39 +00:00
Merge pull request #43337 from Xrayez/math-unused-phi-define
Remove unused `PHI` define in math funcs
This commit is contained in:
commit
d79e57882b
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue