summaryrefslogtreecommitdiffstats
path: root/core/math/math_funcs.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-07-25 10:33:45 +0200
committerGitHub <noreply@github.com>2019-07-25 10:33:45 +0200
commit1481d299ea97fa1311a75a9ee39eb97d624a8619 (patch)
treec42928f05a4050fdb6d5eb8361469e423fd80e76 /core/math/math_funcs.h
parentffca740185d5e34dbb41af825aeb4d04407894e1 (diff)
parentd844e306147689c3f02473b3dd5d592bdf141023 (diff)
downloadredot-engine-1481d299ea97fa1311a75a9ee39eb97d624a8619.tar.gz
Merge pull request #30776 from akien-mga/editor-configurable-float-step
Inspector: Make default float step configurable
Diffstat (limited to 'core/math/math_funcs.h')
-rw-r--r--core/math/math_funcs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/math/math_funcs.h b/core/math/math_funcs.h
index b8b5151802..a712356ddc 100644
--- a/core/math/math_funcs.h
+++ b/core/math/math_funcs.h
@@ -270,6 +270,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 double stepify(double p_value, double p_step);
static double dectime(double p_value, double p_amount, double p_step);