mirror of
https://github.com/brammie15/VoxelRenderer.git
synced 2025-12-20 03:19:19 +01:00
Changed key polling method from a callback to per-frame
This commit is contained in:
@@ -13,9 +13,8 @@
|
||||
void runProgram(GLFWwindow* window);
|
||||
|
||||
|
||||
// GLFW callback mechanisms
|
||||
void keyboardCallback(GLFWwindow* window, int key, int scancode,
|
||||
int action, int mods);
|
||||
// Function for handling keypresses
|
||||
void handleKeyboardInput(GLFWwindow* window);
|
||||
|
||||
|
||||
// Checks for whether an OpenGL error occurred. If one did,
|
||||
|
||||
Reference in New Issue
Block a user