diff options
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); |