forgot to remove left shift
This commit is contained in:
parent
35abb02e2f
commit
2008f70983
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue