summaryrefslogtreecommitdiffstats
path: root/main/tests/test_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main/tests/test_gui.cpp')
-rw-r--r--main/tests/test_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/tests/test_gui.cpp b/main/tests/test_gui.cpp
index bfce03d663..ab3df3b022 100644
--- a/main/tests/test_gui.cpp
+++ b/main/tests/test_gui.cpp
@@ -93,7 +93,7 @@ public:
TestCube *testcube = memnew( TestCube );
vp->add_child(testcube);
- testcube->set_transform(Transform( Matrix3().rotated(Vector3(0,1,0),Math_PI*0.25), Vector3(0,0,-8)));
+ testcube->set_transform(Transform( Basis().rotated(Vector3(0,1,0),Math_PI*0.25), Vector3(0,0,-8)));
Sprite *sp = memnew( Sprite );
sp->set_texture( vp->get_render_target_texture() );