From 93b494d4ae136f43193a5a2da7a355938517767e Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Mon, 7 Dec 2020 01:40:46 -0500 Subject: Add Quaternion angle_to method --- 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 05ed35c760..4064eba7fb 100644 --- a/core/variant/variant_call.cpp +++ b/core/variant/variant_call.cpp @@ -1552,6 +1552,7 @@ static void _register_variant_builtin_methods() { bind_method(Quaternion, is_normalized, sarray(), varray()); bind_method(Quaternion, is_equal_approx, sarray("to"), varray()); bind_method(Quaternion, inverse, sarray(), varray()); + bind_method(Quaternion, angle_to, sarray("to"), varray()); bind_method(Quaternion, dot, sarray("with"), varray()); bind_method(Quaternion, slerp, sarray("to", "weight"), varray()); bind_method(Quaternion, slerpni, sarray("to", "weight"), varray()); -- cgit v1.2.3