summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/skybox
diff options
context:
space:
mode:
authorRobert Brock <robert.brock@kdab.com>2016-01-05 09:57:15 +0000
committerSean Harmer <sean.harmer@kdab.com>2016-01-05 10:29:31 +0000
commit8158298ce10f8f48460dc8552e492c341dbe3907 (patch)
treee9e42bee479673c725f23ce143033dfcf90efb06 /examples/qt3d/skybox
parent668db43bc5966e2dc144f823df1a9645d6e7ce43 (diff)
Camera moved - skybox
From z: -40 to z: 40 Change-Id: Ifd4f3f9f21ef8d82255d7514976297b494adcbe7 Task-number: QTBUG-49800 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/qt3d/skybox')
-rw-r--r--examples/qt3d/skybox/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qt3d/skybox/main.qml b/examples/qt3d/skybox/main.qml
index b8a202970..46551da0d 100644
--- a/examples/qt3d/skybox/main.qml
+++ b/examples/qt3d/skybox/main.qml
@@ -54,9 +54,9 @@ Entity {
aspectRatio: 16/9
nearPlane: 0.01
farPlane: 1000.0
+ position: Qt.vector3d( 0.0, 0.0, 40.0 )
viewCenter: Qt.vector3d( 0.0, 0.0, 0.0 )
upVector: Qt.vector3d( 0.0, 1.0, 0.0 )
- position: Qt.vector3d( 0.0, 0.0, -40.0 )
}
// So that the camera is rendered always at the same position as the camera