You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +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.
(cherry picked from commit 2331300989)
This commit is contained in:
committed by
Rémi Verschelde
parent
438f1a8238
commit
74d10e766e
@@ -35,6 +35,7 @@
|
||||
#ifdef DEBUG_ENABLED
|
||||
|
||||
#include "test_astar.h"
|
||||
#include "test_basis.h"
|
||||
#include "test_gdscript.h"
|
||||
#include "test_gui.h"
|
||||
#include "test_math.h"
|
||||
@@ -51,6 +52,7 @@ const char **tests_get_names() {
|
||||
static const char *test_names[] = {
|
||||
"string",
|
||||
"math",
|
||||
"basis",
|
||||
"physics",
|
||||
"physics_2d",
|
||||
"render",
|
||||
@@ -81,6 +83,11 @@ 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") {
|
||||
|
||||
return TestPhysics::test();
|
||||
|
||||
Reference in New Issue
Block a user