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); }