repair codec selection 42 computers, lerp and slerp might be broken :/

This commit is contained in:
2025-01-29 02:47:06 +01:00
parent 0f159baf9d
commit 409a4f6def
6 changed files with 117 additions and 50 deletions

View File

@ -6,7 +6,7 @@
/* By: ycontre <ycontre@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/13 16:16:24 by TheRed #+# #+# */
/* Updated: 2025/01/25 03:09:56 by tomoron ### ########.fr */
/* Updated: 2025/01/28 15:15:53 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
@ -71,6 +71,8 @@ void Window::process_input()
bool up = glfwGetKey(_window, GLFW_KEY_SPACE) == GLFW_PRESS;
bool down = glfwGetKey(_window, GLFW_KEY_LEFT_SHIFT) == GLFW_PRESS;
if(_renderer->rendering())
return ;
if (forward || backward || left || right || up || down)
_frameCount = 0;