- 博客(1)
- 收藏
- 关注
原创 openGL编码实现一个立方体
代码清单:#include "GL/glut.h" void init(void) { glClearColor(0.0,0.0,0.0,0.0); glShadeModel(GL_FLAT); }void Reshape(int w, int h)//移动窗口或改变窗口尺寸 { glViewport(0, 0, w, h); glMatrixMode(GL_PROJ
2017-11-07 23:36:17
612
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人