managed old tutorial implementation with classes.
Bugs: nothing is displayed
This commit is contained in:
11
MshViewer/Header/callback.h
Normal file
11
MshViewer/Header/callback.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
extern void windowResize(GLFWwindow * window, int width, int height);
|
||||
|
||||
extern void mouseButton(GLFWwindow *window, int button, int action, int mod);
|
||||
|
||||
extern void mouseMove(GLFWwindow *window, double xpos, double ypos);
|
||||
|
||||
extern void mouseWheel(GLFWwindow *window, double xoffset, double yoffset);
|
||||
|
||||
extern void keyPress(GLFWwindow *window, int key, int scancode, int action, int mods);
|
||||
Reference in New Issue
Block a user