terravisor/include/Callbacks.h

14 lines
381 B
C
Raw Normal View History

2024-08-12 21:40:28 -04:00
#pragma once
#include <GLFW/glfw3.h>
namespace Callbacks
{
void Register(GLFWwindow* window);
void Keyboard(GLFWwindow* window, int key, int scancode, int action, int mods);
void MouseCursor(GLFWwindow* window, double x, double y);
void MouseButton(GLFWwindow* window, int button, int action, int mods);
void Resize(GLFWwindow* window, int width, int height);
};