摘要: #include <gl/glut.h>#include <stdio.h>#include <stdlib.h>#include <iostream>using namespace std;void display(void){ //清除掉所有像素 glClear(GL_COLOR_BUFFER_BIT); //画一个白色多边形 glColor3f(1.0, 1.0, 1.0);/* glBegin(GL_POLYGON); glVertex3f(0.25, 0.25, 0.0); glVertex3f(0.75, 0.25, 0.0... 阅读全文
posted @ 2011-11-01 11:11 lihui_yy 阅读(1152) 评论(0) 推荐(0) 编辑