Skip to content
Snippets Groups Projects
Commit 93fc0e71 authored by Vanessa Karolek's avatar Vanessa Karolek
Browse files

[#60] add missing frametime to FoV

parent ea28cbf1
No related branches found
No related tags found
1 merge request!65Resolve "Kamera - Steuerung mittels Controller"
Pipeline #25975 passed
......@@ -150,7 +150,7 @@ namespace vkcv::camera {
// handle zooming
double zoom = static_cast<double>((gamepadState.axes[GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER]
- gamepadState.axes[GLFW_GAMEPAD_AXIS_LEFT_TRIGGER])
* sensitivity * 0.5);
* sensitivity * frametime);
changeFov(zoom, camera);
// handle translation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment