摘要: 1.GLEW介绍GLEW是OpenGL常用的扩展库,可以在http://glew.sourceforge.net/进行下载2.实现 1 #include 2 3 #include 4 #include 5 6 struct Vector3f 7 { 8 float x; 9 ... 阅读全文
posted @ 2015-11-19 01:22 逍遥子云 阅读(459) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 3 static void RenderSceneCB() 4 { 5 glClear(GL_COLOR_BUFFER_BIT); 6 glutSwapBuffers(); 7 } 8 9 static void InitializeGlutCall... 阅读全文
posted @ 2015-11-19 00:11 逍遥子云 阅读(432) 评论(0) 推荐(0) 编辑