diff options
| author | Juan Linietsky | 2017-01-11 00:52:51 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-11 00:52:51 -0300 |
| commit | bc26f905817945300d397696330d1ab04a1af33c (patch) | |
| tree | d06338399c8ea410042f6631fb3db3efcc100b05 /main/tests/test_gui.cpp | |
| parent | 710692278d1353aad08bc7bceb655afc1d6c950c (diff) | |
| download | godot-bc26f905817945300d397696330d1ab04a1af33c.tar.gz godot-bc26f905817945300d397696330d1ab04a1af33c.tar.zst godot-bc26f905817945300d397696330d1ab04a1af33c.zip | |
Diffstat (limited to 'main/tests/test_gui.cpp')
| -rw-r--r-- | main/tests/test_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/tests/test_gui.cpp b/main/tests/test_gui.cpp index bfce03d66..ab3df3b02 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() ); |
