summaryrefslogtreecommitdiff
path: root/core/variant
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-07-31 10:20:29 +0200
committerGitHub <noreply@github.com>2021-07-31 10:20:29 +0200
commitd7b61838b1a2d90fec2446c23549bb77714c3bb6 (patch)
tree693d818950a14e42d3fc03196d6b9d41aa137f09 /core/variant
parentf2efa6f4f38895a4adf8efc1e4f358a8dc5779cb (diff)
parent2733b9abd8c1a8aafd3e69bd8cf1fccf1aad7ae8 (diff)
Merge pull request #51084 from aaronfranke/no-dectime
Remove obsolete `dectime` method
Diffstat (limited to 'core/variant')
-rw-r--r--core/variant/variant_utility.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/variant/variant_utility.cpp b/core/variant/variant_utility.cpp
index 64f07e075e..34dbf130b6 100644
--- a/core/variant/variant_utility.cpp
+++ b/core/variant/variant_utility.cpp
@@ -249,10 +249,6 @@ struct VariantUtilityFunctions {
return Math::move_toward(from, to, delta);
}
- static inline double dectime(double value, double amount, double step) {
- return Math::dectime(value, amount, step);
- }
-
static inline double deg2rad(double angle_deg) {
return Math::deg2rad(angle_deg);
}
@@ -1195,7 +1191,6 @@ void Variant::_register_variant_utility_functions() {
FUNCBINDR(smoothstep, sarray("from", "to", "x"), Variant::UTILITY_FUNC_TYPE_MATH);
FUNCBINDR(move_toward, sarray("from", "to", "delta"), Variant::UTILITY_FUNC_TYPE_MATH);
- FUNCBINDR(dectime, sarray("value", "amount", "step"), Variant::UTILITY_FUNC_TYPE_MATH);
FUNCBINDR(deg2rad, sarray("deg"), Variant::UTILITY_FUNC_TYPE_MATH);
FUNCBINDR(rad2deg, sarray("rad"), Variant::UTILITY_FUNC_TYPE_MATH);