2018年6月24日 星期日

week04


glPushMatrix();
glTranslatef(x,y,z);移動
glRotatef(angle,x,y,z);旋轉
glScalef(x,y,z);放大縮小
glBegin(GL_POLOGEN);
          glColor3f(r,g,b);
          glVertex3f(x,y,z);
glEnd();
glPopMatrix();

沒有留言:

張貼留言