diff options
Diffstat (limited to 'scene/3d/cpu_particles.cpp')
-rw-r--r-- | scene/3d/cpu_particles.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/cpu_particles.cpp b/scene/3d/cpu_particles.cpp index fa14174089..731e4d3afe 100644 --- a/scene/3d/cpu_particles.cpp +++ b/scene/3d/cpu_particles.cpp @@ -442,7 +442,7 @@ static float rand_from_seed(uint32_t &seed) { return float(seed % uint32_t(65536)) / 65535.0; } -float rand_from_seed_m1_p1(uint32_t &seed) { +static float rand_from_seed_m1_p1(uint32_t &seed) { return rand_from_seed(seed) * 2.0 - 1.0; } |