摘要:
#include <gl/glut.h> static int year=0,day=0; void init()
{ glClearColor(0.0f,0.0f,0.0f,0.0f); glShadeModel(GL_FLAT);
} void display()
{ glClear(GL_COLOR_BUFFER_BIT); glColor3f(1.0f,1.0f,1.0f); glPushMatrix(); glutWireSphere(1.0,20,16); glRotatef((GLfloat)year,0.0,1.0,0.0); glTranslatef(... 阅读全文
posted @ 2012-07-19 22:56
weinyzhou
阅读(598)
评论(0)
推荐(0)
摘要:
#include static int year=0,day=0;void init(){ glClearColor(0.0f,0.0f,0.0f,0.0f); glShadeModel(GL_FLAT);}void display(){ glClear(GL_COLOR_BUFFER_BIT); ... 阅读全文
posted @ 2012-07-19 22:56
weinyzhou
阅读(196)
评论(0)
推荐(0)

浙公网安备 33010602011771号