diff options
author | antonWetzel <anton.wetzel.mail@gmail.com> | 2022-08-08 17:05:55 +0200 |
---|---|---|
committer | antonWetzel <anton.wetzel.mail@gmail.com> | 2022-08-09 01:59:17 +0200 |
commit | 40a1d6d100d8a1823d3a939a7ad7350b36bcddbd (patch) | |
tree | 65b06f486f70150e7110b1ad1dde3aa2f398c858 /core/variant | |
parent | 7355dfb502dbae6f13fbe42a9feeadb57affac0e (diff) |
vector4 distance_squared_to and update csharp
Diffstat (limited to 'core/variant')
-rw-r--r-- | core/variant/variant_call.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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()); |