summaryrefslogtreecommitdiffstats
path: root/core/math/expression.h
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2018-10-25 20:20:20 -0400
committerAaron Franke <arnfranke@yahoo.com>2019-04-30 13:49:17 -0400
commit620ec4703fa8790ac01a8c1e05212d85776cf9b9 (patch)
tree3e90d3bcbda95a4f148367b0e6aced874e369c95 /core/math/expression.h
parentdd2cd06165670bb0d78bf4aa397935be15716e76 (diff)
downloadredot-engine-620ec4703fa8790ac01a8c1e05212d85776cf9b9.tar.gz
Make "decimal" functions more consistent
In GDScript, rename "decimals" to "step_decimals". In C#, add "StepDecimals", but keep the old functionality in a method called "DecimalCount".
Diffstat (limited to 'core/math/expression.h')
-rw-r--r--core/math/expression.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/math/expression.h b/core/math/expression.h
index f9075cb689..f20619f0b6 100644
--- a/core/math/expression.h
+++ b/core/math/expression.h
@@ -62,6 +62,7 @@ public:
MATH_ISINF,
MATH_EASE,
MATH_DECIMALS,
+ MATH_STEP_DECIMALS,
MATH_STEPIFY,
MATH_LERP,
MATH_INVERSE_LERP,