blob: 827581c0bbc230f3f89fefd4de3b23851c934586 (
plain)
1
2
3
4
5
6
7
8
|
#include "input.hpp"
#include "GLFW/glfw3.h"
void processInput(GLFWwindow *window)
{
if(glfwGetKey(window, GLFW_KEY_ESCAPE) == GLFW_PRESS)
glfwSetWindowShouldClose(window, true);
}
|