diff --git a/modules/camera/src/vkcv/camera/PilotCameraController.cpp b/modules/camera/src/vkcv/camera/PilotCameraController.cpp index b498a69a0aee3c0f637beb866d4c8161a1a69acc..39796f028e7bafb8e0ed0908226c0ed824f237a4 100644 --- a/modules/camera/src/vkcv/camera/PilotCameraController.cpp +++ b/modules/camera/src/vkcv/camera/PilotCameraController.cpp @@ -135,7 +135,7 @@ namespace vkcv::camera { glfwGetGamepadState(gamepadIndex, &gamepadState); float sensitivity = 0.05f; - double threshold = 0.10f; // todo: needs further investigation! + double threshold = 0.1; // todo: needs further investigation! // handle rotations double stickRightX = static_cast<double>(gamepadState.axes[GLFW_GAMEPAD_AXIS_RIGHT_X]); diff --git a/modules/camera/src/vkcv/camera/TrackballCameraController.cpp b/modules/camera/src/vkcv/camera/TrackballCameraController.cpp index f10e9c690fa781bb52a2fc2b8484c345a5ef3e24..278feb761fbd674571dcf7dc438f11c1a6958257 100644 --- a/modules/camera/src/vkcv/camera/TrackballCameraController.cpp +++ b/modules/camera/src/vkcv/camera/TrackballCameraController.cpp @@ -103,7 +103,7 @@ namespace vkcv::camera { glfwGetGamepadState(gamepadIndex, &gamepadState); float sensitivity = 0.025f; - double threshold = 0.10f; // todo: needs further investigation! + double threshold = 0.1; // todo: needs further investigation! // handle rotations double stickRightX = static_cast<double>(gamepadState.axes[GLFW_GAMEPAD_AXIS_RIGHT_X]);