摘要: #include <windows.h>#include <gl/gl.h>#include "glut.h"// 旋转参数static GLfloat xRot = 0.0f;static GLfloat yRot = 0.0f;//static GLfloat zRot = 0.0f;BOOL bDepth = FALSE;//深度测试开关BOOL bCull = FALSE;//剔除开关void SetupRC(void){ // 设置窗口背景颜色为黑色 glClearColor(0.0f, 0.0f, 0.0f, 1.0f );//指定多边形 阅读全文
posted @ 2013-06-05 18:53 李白~~ 阅读(264) 评论(0) 推荐(0) 编辑