diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2016-02-03 16:26:37 +0000 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-02-03 22:18:03 +0000 |
commit | ba47e8d19b83fe835fa4074e5eafed0effd4e2fc (patch) | |
tree | a51f8e5df10acfcb2d2161b55cf5070b103b5ec6 /examples/qt3d/simple-cpp/main.cpp | |
parent | 27067c0f50007ea8761f277f805042b332a3d2ff (diff) |
Increase speed from default in simple-cpp
Change-Id: I4a7023eb2bbca57661a3f041f138d29a047ad114
Reviewed-by: Robert Brock <robert.brock@kdab.com>
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples/qt3d/simple-cpp/main.cpp')
-rw-r--r-- | examples/qt3d/simple-cpp/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/qt3d/simple-cpp/main.cpp b/examples/qt3d/simple-cpp/main.cpp index 1f5afeb33..1ca6551d0 100644 --- a/examples/qt3d/simple-cpp/main.cpp +++ b/examples/qt3d/simple-cpp/main.cpp @@ -136,6 +136,8 @@ int main(int argc, char* argv[]) // For camera controls Qt3DInput::QFirstPersonCameraController *camController = new Qt3DInput::QFirstPersonCameraController(scene); + camController->setLinearSpeed( 50.0f ); + camController->setLookSpeed( 180.0f ); camController->setCamera(camera); view.setRootEntity(scene); |