Skip to content
Snippets Groups Projects
Verified Commit 7e3fcd1d authored by Josch Morgenstern's avatar Josch Morgenstern
Browse files

[#60] change precision

parent 10ca0012
No related branches found
No related tags found
1 merge request!65Resolve "Kamera - Steuerung mittels Controller"
Pipeline #25865 passed
......@@ -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]);
......
......@@ -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]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment