callbacks.h 303 B

12345678
  1. #pragma once
  2. #include <glad/glad.h> //so we don't have conflicts
  3. #include <GLFW/glfw3.h>
  4. void mouseCallback(GLFWwindow *window, int key, int action, int mods);
  5. void windowFocusCallback(GLFWwindow *window, int focused);
  6. void keyCallback(GLFWwindow *window, int key, int scancode, int action, int mods);