Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The gluOrtho2D function defines a 2-D orthographic projection matrix.
void gluOrtho2D(
GLdouble left, GLdouble right, GLdouble bottom, GLdouble top);
Parameters
- left, right
The coordinates for the left and right vertical clipping planes. - bottom, top
The coordinates for the bottom and top horizontal clipping planes.
Remarks
The gluOrtho2D function sets up a two-dimensional orthographic viewing region. This is equivalent to calling glOrtho with near = 1 and far = 1.
Requirements
** Windows NT/2000:** Requires Windows NT 3.5 or later.
** Windows 95/98:** Requires Windows 95 or later. Available as a redistributable for Windows 95.
** Header:** Declared in Glu.h.
** Library:** Use Glu32.lib.