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