随笔分类 -  OpenGL

渲染一个变色矩形
摘要:#define GLEW_STATIC #include #include #include using namespace std; void key_callback(GLFWwindow* window, int key, int scancode, int action, int mode) { // 当用户按下ESC键,我们设置window窗口的WindowShould... 阅读全文

posted @ 2018-05-08 19:23 lakeone 阅读(276) 评论(0) 推荐(0)

第一个程序,三角形
摘要:#define GLEW_STATIC #include #include #include using namespace std; void key_callback(GLFWwindow* window, int key, int scancode, int action, int mode) { // 当用户按下ESC键,我们设置window窗口的WindowShouldCl... 阅读全文

posted @ 2018-05-07 21:41 lakeone 阅读(164) 评论(0) 推荐(0)

导航