opengl ,计算机图形学代码,计算机图形,大学课程
glPushMatrix();
glColor3f(1,0,0);
//your code here;
glScalef(4,4,0.5);
glutSolidCube(1); //绘制立方体身 glPopMatrix();
glPushMatrix();
glColor3f(1,1,0);
//your code here;
glRotatef(thera,0,1,0);
glTranslatef(0,2.5,0);
glScalef(1,1,0.5);
glutSolidCube(1); //绘制立方体头 glPopMatrix();
glPushMatrix();
glColor3f(1,0.5,0.2);
//your code here;
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说教育文库行走的机器人___计算机图形学代码(7)在线全文阅读。
相关推荐: