summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-05 19:41:36 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-05 19:41:36 -0300
commit99ceddd11ef652a3b8e6bf5d09dcc519d957ce14 (patch)
tree4c3daa35be5b08a27829f98cea6cf8598932046e /bin
parent495d059a744b268b0355d0cbfbb9ef30fec865e2 (diff)
Editor settings categories are now tidy and beautiful!
Diffstat (limited to 'bin')
-rw-r--r--bin/tests/test_math.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/tests/test_math.cpp b/bin/tests/test_math.cpp
index 2ffef83f79..e3e74af14c 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();