summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/simple-qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/simple-qml')
-rw-r--r--examples/qt3d/simple-qml/main.qml21
1 files changed, 11 insertions, 10 deletions
diff --git a/examples/qt3d/simple-qml/main.qml b/examples/qt3d/simple-qml/main.qml
index 7896766c5..c82bafaa3 100644
--- a/examples/qt3d/simple-qml/main.qml
+++ b/examples/qt3d/simple-qml/main.qml
@@ -106,19 +106,20 @@ Entity {
Rotate {
id: sphereRotation
axis: Qt.vector3d(0, 1, 0)
- QQ2.NumberAnimation {
- target: sphereRotation
- property: "angle"
- duration: 10000
- from: 0
- to: 360
-
- loops: QQ2.Animation.Infinite
- running: true
- }
}
}
+ QQ2.NumberAnimation {
+ target: sphereRotation
+ property: "angle"
+ duration: 10000
+ from: 0
+ to: 360
+
+ loops: QQ2.Animation.Infinite
+ running: true
+ }
+
Entity {
id: sphereEntity
components: [ sphereMesh, material, sphereTransform ]