From 40a1d6d100d8a1823d3a939a7ad7350b36bcddbd Mon Sep 17 00:00:00 2001 From: antonWetzel Date: Mon, 8 Aug 2022 17:05:55 +0200 Subject: vector4 distance_squared_to and update csharp --- core/variant/variant_call.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'core/variant') diff --git a/core/variant/variant_call.cpp b/core/variant/variant_call.cpp index 5c298f9b3b..f3f2eb16c4 100644 --- a/core/variant/variant_call.cpp +++ b/core/variant/variant_call.cpp @@ -1746,6 +1746,7 @@ static void _register_variant_builtin_methods() { bind_method(Vector4, is_normalized, sarray(), varray()); bind_method(Vector4, direction_to, sarray("to"), varray()); bind_method(Vector4, distance_to, sarray("to"), varray()); + bind_method(Vector4, distance_squared_to, sarray("to"), varray()); bind_method(Vector4, dot, sarray("with"), varray()); bind_method(Vector4, inverse, sarray(), varray()); bind_method(Vector4, is_equal_approx, sarray("with"), varray()); -- cgit v1.2.3