summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorruffenman <jorge@jorgecapote.com>2024-10-14 20:33:20 -0400
committerruffenman <jorge@jorgecapote.com>2024-10-14 20:33:20 -0400
commit42a35a1852cec7dad37132836955bcd462409fc8 (patch)
tree7febb94c14c3022f2fed72366d3a077e24474dec /include
parent6facde3c29abe4d8b0ff365c252c9aeb16fc5f66 (diff)
downloadredot-cpp-42a35a1852cec7dad37132836955bcd462409fc8.tar.gz
Remove unimplemented static variant functions 'blend' and 'interpolate'. If a user attempts to call either of these it will introduce a linker error and it may not be immediately clear to them why. Also, variant interpolation can already be accessed via 'UtilityFunctions::lerp', making at least the interpolate function unecessary here.
Diffstat (limited to 'include')
-rw-r--r--include/godot_cpp/variant/variant.hpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/godot_cpp/variant/variant.hpp b/include/godot_cpp/variant/variant.hpp
index b0d57fb..a868a7c 100644
--- a/include/godot_cpp/variant/variant.hpp
+++ b/include/godot_cpp/variant/variant.hpp
@@ -327,8 +327,6 @@ public:
bool booleanize() const;
String stringify() const;
Variant duplicate(bool deep = false) const;
- static void blend(const Variant &a, const Variant &b, float c, Variant &r_dst);
- static void interpolate(const Variant &a, const Variant &b, float c, Variant &r_dst);
static String get_type_name(Variant::Type type);
static bool can_convert(Variant::Type from, Variant::Type to);