opengl ,计算机图形学代码,计算机图形,大学课程
glTranslatef(0,2,0);
glRotatef(thera,1,0,0);
glTranslatef(0,-2,0);
glTranslatef(-2.5,0.5,0);
glScalef(1,3,0.5);
glutSolidCube(1); //绘制zuo立方体手
glPopMatrix();
glPushMatrix();
glColor3f(1,0.5,0.2);
//your code here;
glTranslatef(0,2,0);
glRotatef(-thera,1,0,0);
glTranslatef(0,-2,0);
glTranslatef(2.5,0.5,0);
glScalef(1,3,0.5);
glutSolidCube(1); //绘制you立方体手 glPopMatrix();