Orthographic Projection
void glOrtho(GLdouble left, GLdouble right, GLdouble
bottom, GLdouble top, GLdouble near, GLdouble far);
Creates a matrix for an orthographic parallel viewing
volume and multiplies the current matrix by it. (left, bottom, -near) and
(right, top, -near) are points on the near clipping plane that are mapped
to the lower-left and upper-right corners of the viewport window, respectively.
( left, bottom, -far) and (right, top, -far) are points on the far clipping
plane that are mapped to the same respective corners of the viewport. Both
near and far can be positive or negative.
|