24#define GLFW_INCLUDE_NONE
25#include <GLFW/glfw3.h>
Wrapper of the Glfw library.
static void cursor_position_callback(GLFWwindow *window, double xpos, double ypos)
static void error_callback(int error, const char *description)
static void framebuffer_size_callback(GLFWwindow *window, int width, int height)
bool init(const std::string &window_name, InputData &input)
bool window_should_close()
void end_frame(FrameStats &fs)
static void scroll_callback(GLFWwindow *window, double xoffset, double yoffset)
static void key_callback(GLFWwindow *window, int key, int scancode, int action, int mods)
static void mouse_button_callback(GLFWwindow *window, int button, int action, int mods)