我设计的glfw按键检测类和其回调函数

一直想找个基于opengl的utilit好作游戏引擎 这几天看见了glfw,感受不错函数   代码以下:code class KeyEvent { public: KeyEvent(){} static void GLFWCALL keyfun( int _key, int action) { if( action != GLFW_PRESS ) {
相关文章
相关标签/搜索