Skip to content

Commit 42a35a1

Browse files
committed
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.
1 parent 6facde3 commit 42a35a1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/godot_cpp/variant/variant.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,6 @@ class Variant {
327327
bool booleanize() const;
328328
String stringify() const;
329329
Variant duplicate(bool deep = false) const;
330-
static void blend(const Variant &a, const Variant &b, float c, Variant &r_dst);
331-
static void interpolate(const Variant &a, const Variant &b, float c, Variant &r_dst);
332330

333331
static String get_type_name(Variant::Type type);
334332
static bool can_convert(Variant::Type from, Variant::Type to);

0 commit comments

Comments
 (0)