diff options
Diffstat (limited to 'examples/qt3d/wave')
-rw-r--r-- | examples/qt3d/wave/Background.qml | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/examples/qt3d/wave/Background.qml b/examples/qt3d/wave/Background.qml index 7c6ed4952..c475b0e9a 100644 --- a/examples/qt3d/wave/Background.qml +++ b/examples/qt3d/wave/Background.qml @@ -72,14 +72,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)); - return m; - } + rotation: fromAxisAndAngle(Qt.vector3d(1, 0, 0), 90) }, Material { |