Skip to content

Commit

Permalink
Remove unimplemented static variant functions 'blend' and 'interpolat…
Browse files Browse the repository at this point in the history
…e'. 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.
  • Loading branch information
ruffenman committed Oct 15, 2024
1 parent 6facde3 commit 42a35a1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/godot_cpp/variant/variant.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,6 @@ class Variant {
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);
Expand Down

0 comments on commit 42a35a1

Please sign in to comment.