1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

- Added more euler rotation orders support.

- Fixed floating point issue on the old one.
- Fixed the equation on the get_euler_yxz function.
- Added unit tests.

This work has been kindly sponsored by IMVU.
This commit is contained in:
Andrea Catania
2020-06-12 18:39:59 +02:00
parent 84abf5a979
commit 2331300989
6 changed files with 594 additions and 16 deletions

View File

@@ -35,6 +35,7 @@
#ifdef DEBUG_ENABLED
#include "test_astar.h"
#include "test_basis.h"
#include "test_class_db.h"
#include "test_gdscript.h"
#include "test_gui.h"
@@ -51,6 +52,7 @@ const char **tests_get_names() {
static const char *test_names[] = {
"string",
"math",
"basis",
"physics_2d",
"physics_3d",
"render",
@@ -79,6 +81,10 @@ MainLoop *test_main(String p_test, const List<String> &p_args) {
return TestMath::test();
}
if (p_test == "basis") {
return TestBasis::test();
}
if (p_test == "physics_2d") {
return TestPhysics2D::test();
}