From 948a270134f19a065bb73f74abd096b1fb5e1ac8 Mon Sep 17 00:00:00 2001 From: Robert Brock Date: Tue, 3 May 2016 13:55:25 +0100 Subject: Replaced FPS Camera with Orbit - Simple-qml Simple-qml example now has OrbitCameraController instead of FirstPersonCameraController. Camera was also moved to -40 as the lightsource was the otherside of the Torus. Part of the examples cleanup. Change-Id: Ib30b53c1e9d01c4dc09f7907683ea7ea2352c492 Reviewed-by: Sean Harmer --- examples/qt3d/simple-qml/main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/qt3d/simple-qml/main.qml b/examples/qt3d/simple-qml/main.qml index fb18043c3..5eed965ca 100644 --- a/examples/qt3d/simple-qml/main.qml +++ b/examples/qt3d/simple-qml/main.qml @@ -64,12 +64,12 @@ Entity { aspectRatio: 16/9 nearPlane : 0.1 farPlane : 1000.0 - position: Qt.vector3d( 0.0, 0.0, 40.0 ) + position: Qt.vector3d( 0.0, 0.0, -40.0 ) upVector: Qt.vector3d( 0.0, 1.0, 0.0 ) viewCenter: Qt.vector3d( 0.0, 0.0, 0.0 ) } - FirstPersonCameraController { + OrbitCameraController { camera: camera } -- cgit v1.2.3