PDA

View Full Version : what is the default projection matrix ?



airseb
06-10-2003, 12:11 AM
if i don't specify any matrix after : glMatrixMode( GL_PROJECTION );
what is the default matrix between glOrtho (2d) and glFrustum (3d) ?
thanks !

Bob
06-10-2003, 12:28 AM
The default projection matrix is the identity matrix, which is the same as glOrtho(-1, 1, -1, 1, 1, -1).