我設計的glfw按鍵檢測類和其回調函數

一直想找個基於opengl的utilit好作遊戲引擎 這幾天看見了glfw,感受不錯函數   代碼以下:code class KeyEvent { public: KeyEvent(){} static void GLFWCALL keyfun( int _key, int action) { if( action != GLFW_PRESS ) {
相關文章
相關標籤/搜索