2017年3月28日 星期二

w6 廖葆棠

期中考考題筆記
glPopMatrix();
glBegin(GL_POLYGON);
glRotatef(angle, x,y,z);
glTranslatef(x,y,z);
glScalef(x,y,z);
glNormal3f(nx,ny,nz);
glTexCoord2f(tx,ty);
glColor3f(r,g,b);
glVertex3f(x,y,z);
glEnd();
glPopMatrix();
 

沒有留言:

張貼留言