diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-02-16 11:57:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-16 11:57:40 +0100 |
commit | 997a9f37f7fe74957732d3244a4a4eb85297eea3 (patch) | |
tree | ac7126f5e666dfb999854f3b76f12ddca7f4ed33 /core/variant/variant_call.cpp | |
parent | 5dea8b662eddf1a7f853ea40d1546edc88686f15 (diff) | |
parent | 2c71ff111901356b5301dd9571739525b8565be7 (diff) |
Merge pull request #45807 from JestemStefan/signed_angles
Add signed_angle_to() and related methods to Vector3 and Vector3i
Diffstat (limited to 'core/variant/variant_call.cpp')
-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 8f2cba138b..48f9816074 100644 --- a/core/variant/variant_call.cpp +++ b/core/variant/variant_call.cpp @@ -1059,6 +1059,7 @@ static void _register_variant_builtin_methods() { bind_method(Vector3, min_axis, sarray(), varray()); bind_method(Vector3, max_axis, sarray(), varray()); bind_method(Vector3, angle_to, sarray("to"), varray()); + bind_method(Vector3, signed_angle_to, sarray("to", "axis"), varray()); bind_method(Vector3, direction_to, sarray("b"), varray()); bind_method(Vector3, distance_to, sarray("b"), varray()); bind_method(Vector3, distance_squared_to, sarray("b"), varray()); |