diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-03-07 22:12:12 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-03-07 22:13:49 +0100 |
commit | 4e3d5a9a2c4cc9658a1a65415911b20e0c6cd9e6 (patch) | |
tree | b19f4ac012ae0e926596326a3b81312463ccb5b4 /core/math | |
parent | f488a841c7225a4d80abbc04c74079fbbac01c77 (diff) | |
download | redot-engine-4e3d5a9a2c4cc9658a1a65415911b20e0c6cd9e6.tar.gz |
VariantUtility: Unexpose `Math::range_step_decimals`
This method was meant only as a convenience for editor code
to allow using a step of 0 to disable snapping.
It was exposed by mistake when refactoring GlobalScope.
Diffstat (limited to 'core/math')
-rw-r--r-- | core/math/math_funcs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/math_funcs.h b/core/math/math_funcs.h index 8c0b87cf4a..44340b97ae 100644 --- a/core/math/math_funcs.h +++ b/core/math/math_funcs.h @@ -322,7 +322,7 @@ public: // double only, as these functions are mainly used by the editor and not performance-critical, static double ease(double p_x, double p_c); static int step_decimals(double p_step); - static int range_step_decimals(double p_step); + static int range_step_decimals(double p_step); // For editor use only. static double snapped(double p_value, double p_step); static uint32_t larger_prime(uint32_t p_val); |