01/22/2001
15-462 Computer Graphics I
36
Step 6: Drawing Faces
•
Call face(a, b, c, d) with vertex index
•
Orient consistently
void colorcube(void)
{
face(0,3,2,1);
face(2,3,7,6);
face(0,4,7,3);
face(1,2,6,5);
face(4,5,6,7);
face(0,1,5,4);
}