diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2021-07-30 16:13:59 -0500 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2021-07-30 16:41:28 -0500 |
commit | 2733b9abd8c1a8aafd3e69bd8cf1fccf1aad7ae8 (patch) | |
tree | 2e52c1040828d96f705772d68ba82048f5f5c5a9 /core/variant | |
parent | 63be3c1f006c0f033925c3fe9afe5ba39f4df0ea (diff) |
Remove obsolete "dectime" method
Replaced by "move_toward"
Diffstat (limited to 'core/variant')
-rw-r--r-- | core/variant/variant_utility.cpp | 5 |
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); |