diff options
author | Kevin Ottens <kevin.ottens@kdab.com> | 2016-05-10 11:57:32 +0200 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-05-12 09:39:58 +0000 |
commit | 48208a121e5f41b32c952f43b0b73ec3de3d2218 (patch) | |
tree | 0140e665b17c72f23700869ef4f098cc4ecaf984 /examples/qt3d/lights/main.qml | |
parent | 553b303d006f3ccb3bc770a69bb9217ec85839d5 (diff) |
Large scene, so higher top speed with acceleration
Change-Id: I6a350c5604e1503509b3f92d831f41e4ad7d62e2
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/qt3d/lights/main.qml')
-rw-r--r-- | examples/qt3d/lights/main.qml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/qt3d/lights/main.qml b/examples/qt3d/lights/main.qml index 5ecc757a4..d16df0795 100644 --- a/examples/qt3d/lights/main.qml +++ b/examples/qt3d/lights/main.qml @@ -78,7 +78,12 @@ Entity viewCenter: Qt.vector3d( 0.0, -10.0, -1.0 ) } - FirstPersonCameraController { camera: camera } + FirstPersonCameraController { + camera: camera + linearSpeed: 1000.0 + acceleration: 0.1 + deceleration: 1.0 + } Entity { id: sun |