forgot to remove left shift

This commit is contained in:
onezplpl 2024-07-17 17:09:56 -04:00
parent 35abb02e2f
commit 2008f70983
No known key found for this signature in database
GPG key ID: 7EC026A136F9EEC3

View file

@ -52,10 +52,6 @@ struct v3f controlHandler(double cx, double cy, vec3 pos, vec3 dir_temp,
vec3_add(dir_temp, dir_temp, front); 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) { if (glfwGetKey(window, GLFW_KEY_SPACE) == GLFW_PRESS) {
vec3_add(dir_temp, dir_temp, direction); vec3_add(dir_temp, dir_temp, direction);
} }