摘要: #include <iostream>#include <gl\glut.h>#include <gl\GL.h>#include <gl\GLU.h>#include "base.h"using namespace std;int x, y;void display(void){ glClear(GL_COLOR_BUFFER_BIT); glPushMatrix(); //glBegin(GL_TRIANGLES); glBegin(GL_QUADS); glVertex2d(x, y); glVertex2d(x + 3 阅读全文
posted @ 2012-04-19 20:44 litstrong 阅读(325) 评论(0) 推荐(0)