1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

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.
This commit is contained in:
Rémi Verschelde
2022-03-07 22:12:12 +01:00
parent f488a841c7
commit 4e3d5a9a2c
3 changed files with 1 additions and 12 deletions

View File

@@ -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);