diff options
| author | Ferenc Arn | 2017-04-05 17:47:13 -0500 |
|---|---|---|
| committer | Ferenc Arn | 2017-04-06 13:03:56 -0500 |
| commit | 9a37ff1e34fe445a9168a7d91ae1df7d9928eb25 (patch) | |
| tree | f524cd3d1fd4c31e7e1fe868eea45d3d3086c2f6 /main/tests/test_math.cpp | |
| parent | 454f53c77659721a529c48fd4be6bf80d33c0082 (diff) | |
| download | godot-9a37ff1e34fe445a9168a7d91ae1df7d9928eb25.tar.gz godot-9a37ff1e34fe445a9168a7d91ae1df7d9928eb25.tar.zst godot-9a37ff1e34fe445a9168a7d91ae1df7d9928eb25.zip | |
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.
Diffstat (limited to 'main/tests/test_math.cpp')
| -rw-r--r-- | main/tests/test_math.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/tests/test_math.cpp b/main/tests/test_math.cpp index c82ae1abf..ab06349e2 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)); } |
