// Setup orthogonal projection matrix.
glViewport(0, 0, width/2, height);
glMatrixMode(GL_MODELVIEW);
// Setup modelview matrix (e.g. using gluLookAt() if you want).
gluLookAt (0, 0, 5, // eye coordinates
0, 0, 0, // center coordinates
0, 1, 0); // up vector
DrawLeftWindowStuff();
glMatrixMode(GL_PROJECTION);// Setup orthogonal projection matrix again (unnecessary, I think?)
glViewport(width/2, 0, width/2, height);
glMatrixMode(GL_MODELVIEW);
gluLookAt (5, 0, 0, // eye coordinates
0, 0, 0, // center coordinates
0, 1, 0); // up vector
DrawRightWindowStuff();