#include "EventHandler.h" #include bool EventHandler::wireFrameMode = 0; EventHandler::EventHandler(GLFWwindow *window) : window(window) { glfwSetKeyCallback(window, key_callback); // Currently disabled because callbacks are shitty //glfwSetCursorPosCallback(window, mouse_callback); } void EventHandler::handleEvents() { glfwPollEvents(); for(int i=0; i