summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/simple-qml/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/simple-qml/main.qml')
-rw-r--r--examples/qt3d/simple-qml/main.qml18
1 files changed, 7 insertions, 11 deletions
diff --git a/examples/qt3d/simple-qml/main.qml b/examples/qt3d/simple-qml/main.qml
index 60b9a0990..01910cffb 100644
--- a/examples/qt3d/simple-qml/main.qml
+++ b/examples/qt3d/simple-qml/main.qml
@@ -89,14 +89,12 @@ Entity {
id: material
}
- GeometryRenderer {
+ TorusMesh {
id: torusMesh
- view: TorusMesh {
- radius: 5
- minorRadius: 1
- rings: 100
- slices: 20
- }
+ radius: 5
+ minorRadius: 1
+ rings: 100
+ slices: 20
}
@@ -111,11 +109,9 @@ Entity {
components: [ torusMesh, material, torusTransform ]
}
- GeometryRenderer {
+ SphereMesh {
id: sphereMesh
- view: SphereMesh {
- radius: 3
- }
+ radius: 3
}
Transform {