From 4125d98dfa4abdd6533bb7203b7e36a51dc545aa Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Mon, 14 Dec 2015 17:11:18 +0100 Subject: Exercise the new rotation properties in materials Change-Id: I7e5ddf7b2effd676f177081ccc2440433df1bd22 Reviewed-by: Sean Harmer --- examples/qt3d/materials/TrefoilKnot.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/qt3d') diff --git a/examples/qt3d/materials/TrefoilKnot.qml b/examples/qt3d/materials/TrefoilKnot.qml index dc124480b..8dd03ea4e 100644 --- a/examples/qt3d/materials/TrefoilKnot.qml +++ b/examples/qt3d/materials/TrefoilKnot.qml @@ -53,7 +53,8 @@ Entity { Transform { id: transform translation: Qt.vector3d(root.x, root.y, root.z) - rotation: fromEulerAngles(theta, phi, 0) + rotationX: theta + rotationY: phi scale: root.scale } -- cgit v1.2.3