From 9a37ff1e34fe445a9168a7d91ae1df7d9928eb25 Mon Sep 17 00:00:00 2001 From: Ferenc Arn Date: Wed, 5 Apr 2017 17:47:13 -0500 Subject: Added various functions basic math classes. Also enabled math checks only for debug builds. Added set_scale, set_rotation_euler, set_rotation_axis_angle. Addresses #2565 directly. Added an euler angle constructor for Basis in GDScript and also exposed is_normalized for vectors and quaternions. Various other changes mostly cosmetic in nature. --- main/tests/test_math.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') diff --git a/main/tests/test_math.cpp b/main/tests/test_math.cpp index c82ae1abf5..ab06349e2f 100644 --- a/main/tests/test_math.cpp +++ b/main/tests/test_math.cpp @@ -601,7 +601,7 @@ MainLoop *test() { print_line(q3); print_line("before v: " + v + " a: " + rtos(a)); - q.get_axis_and_angle(v, a); + q.get_axis_angle(v, a); print_line("after v: " + v + " a: " + rtos(a)); } -- cgit v1.2.3