From 2008f70983cf8d19c23fa75b54f4b89bc581e609 Mon Sep 17 00:00:00 2001 From: onezplpl Date: Wed, 17 Jul 2024 17:09:56 -0400 Subject: [PATCH] forgot to remove left shift --- control.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/control.c b/control.c index 4a26ad2..14e0e79 100644 --- a/control.c +++ b/control.c @@ -52,10 +52,6 @@ struct v3f controlHandler(double cx, double cy, vec3 pos, vec3 dir_temp, vec3_add(dir_temp, dir_temp, front); } - if (glfwGetKey(window, GLFW_KEY_LEFT_SHIFT) == GLFW_PRESS) { - vec3_sub(dir_temp, dir_temp, direction); - } - if (glfwGetKey(window, GLFW_KEY_SPACE) == GLFW_PRESS) { vec3_add(dir_temp, dir_temp, direction); }