From ba47e8d19b83fe835fa4074e5eafed0effd4e2fc Mon Sep 17 00:00:00 2001 From: Sean Harmer Date: Wed, 3 Feb 2016 16:26:37 +0000 Subject: Increase speed from default in simple-cpp Change-Id: I4a7023eb2bbca57661a3f041f138d29a047ad114 Reviewed-by: Robert Brock Reviewed-by: Paul Lemire --- examples/qt3d/simple-cpp/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/qt3d/simple-cpp') 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); -- cgit v1.2.3