input.c (194B)
1 #include "minecraft.h" 2 3 void process_input(float dt) { 4 if(glfwGetKey(Window, GLFW_KEY_ESCAPE) == GLFW_PRESS) { 5 glfwSetWindowShouldClose(Window, true); 6 } 7 camera_process_keyboard(dt); 8 }
minecraftminecraft | |
| git clone git://git.evenfri.pw/minecraft.git | |
| Log | Files | Refs | README |