summaryrefslogtreecommitdiff
path: root/core/variant
diff options
context:
space:
mode:
authorJestemStefan <37214990+JestemStefan@users.noreply.github.com>2021-02-15 09:01:46 -0500
committerAaron Franke <arnfranke@yahoo.com>2021-02-16 05:07:33 -0500
commit2c71ff111901356b5301dd9571739525b8565be7 (patch)
tree549d2d9ffadf9584d6c3bfb424cf581391489a3c /core/variant
parent7b2bad95710448e0410ecc77c9d96e64af454b5e (diff)
Added signed_angle_to for Vector3
Diffstat (limited to 'core/variant')
-rw-r--r--core/variant/variant_call.cpp1
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());