diff options
| author | Juan Linietsky | 2017-01-05 19:41:36 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-05 19:41:36 -0300 |
| commit | 99ceddd11ef652a3b8e6bf5d09dcc519d957ce14 (patch) | |
| tree | 4c3daa35be5b08a27829f98cea6cf8598932046e /bin | |
| parent | 495d059a744b268b0355d0cbfbb9ef30fec865e2 (diff) | |
| download | godot-99ceddd11ef652a3b8e6bf5d09dcc519d957ce14.tar.gz godot-99ceddd11ef652a3b8e6bf5d09dcc519d957ce14.tar.zst godot-99ceddd11ef652a3b8e6bf5d09dcc519d957ce14.zip | |
Editor settings categories are now tidy and beautiful!
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/tests/test_math.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/tests/test_math.cpp b/bin/tests/test_math.cpp index 2ffef83f7..e3e74af14 100644 --- a/bin/tests/test_math.cpp +++ b/bin/tests/test_math.cpp @@ -477,6 +477,20 @@ uint32_t ihash3( uint32_t a) MainLoop* test() { + Matrix3 m; + m.rotate(Vector3(0,1,0),Math_PI*0.5); + + print_line(m.scaled(Vector3(0.5,1,1))); + Matrix3 s; + s.scale(Vector3(0.5,1.0,1.0)); + + print_line(m * s); + + + + + + return NULL; List<String> cmdlargs = OS::get_singleton()->get_cmdline_args(); |
