summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/plasma/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/plasma/main.qml')
-rw-r--r--examples/qt3d/plasma/main.qml9
1 files changed, 1 insertions, 8 deletions
diff --git a/examples/qt3d/plasma/main.qml b/examples/qt3d/plasma/main.qml
index a15287b41..96aad76f5 100644
--- a/examples/qt3d/plasma/main.qml
+++ b/examples/qt3d/plasma/main.qml
@@ -51,14 +51,7 @@ Entity {
},
Transform { // Rotate the plane so that it faces us
- matrix: {
- var m = Qt.matrix4x4(1, 0, 0, 0,
- 0, 1, 0, 0,
- 0, 0, 1, 0,
- 0, 0, 0, 1);
- m.rotate(90, Qt.vector3d(1.0, 0.0, 0.0));
- return m;
- }
+ rotation: fromAxisAndAngle(Qt.vector3d(1.0, 0.0, 0.0), 90)
},
Material {