01/30/2003
15-462 Graphics I
9
Implementation
•
Recall column-major form
•
•
•
•
•
Assume drawPolygon(); draws object
GLfloat m[16] =
{1.0, 0.0, 0.0, 0.0,
0.0, 1.0, 0.0, -1.0/yl,
0.0, 0.0, 1.0, 0.0,
0.0, 0.0, 0.0, 0.0};