summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Brock <robert.brock@kdab.com>2016-01-05 09:48:36 +0000
committerSean Harmer <sean.harmer@kdab.com>2016-01-05 10:29:19 +0000
commit7d901bf984fe80efdeeedb5a4129f2116aa79a5d (patch)
tree7d090da8d2e141bb87d1c1aff06ae5ccddc79e99
parentb97139cdbbcc2898a29447dd774cfd0464da7c23 (diff)
Camera and model moved - qgltf
From y: -100 to y: 80, z: -120 to z: 120 upVector Y changed to positive Wine: z: -50 to z: 50 and removed angleX rotation which was initially needed due to negative upVector Change-Id: I054d1c18c5a3e6f68c9a3ddf4ea7d2a7f28c90a5 Task-number: QTBUG-49800 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
-rw-r--r--examples/qt3d/qgltf/main.qml7
1 files changed, 3 insertions, 4 deletions
diff --git a/examples/qt3d/qgltf/main.qml b/examples/qt3d/qgltf/main.qml
index 7f8f081ab..f1b9403c0 100644
--- a/examples/qt3d/qgltf/main.qml
+++ b/examples/qt3d/qgltf/main.qml
@@ -48,8 +48,8 @@ Entity {
aspectRatio: 16/9
nearPlane : 0.1
farPlane : 1000.0
- position: Qt.vector3d( 0.0, -100.0, -120.0 )
- upVector: Qt.vector3d( 0.0, -1.0, 0.0 )
+ position: Qt.vector3d( 0.0, 80.0, 120.0 )
+ upVector: Qt.vector3d( 0.0, 1.0, 0.0 )
viewCenter: Qt.vector3d( 0.0, 0.0, 0.0 )
}
@@ -75,7 +75,6 @@ Entity {
Wine {
id: wineRack
- position: Qt.vector3d(-60.0, 0.0, 50.0)
- angleX: 180
+ position: Qt.vector3d(-60.0, 0.0, 0.0)
}
}