diff options
Diffstat (limited to 'bin/tests/test_math.cpp')
| -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(); |
