The gluOrtho2D function defines a 2-D orthographic projection matrix.
void gluOrtho2D(
GLdouble left,
GLdouble right,
GLdouble bottom,
GLdouble top
);
The gluOrtho2D function sets up a two-dimensional orthographic viewing region. This is equivalent to calling glOrtho with near = –1 and far = 1.
Windows NT: Use version 3.5 and later.
Windows: Use Windows 95 and later.
Windows CE: Unsupported.
Header: Declared in glu.h.
Import Library: Link with glu32.lib.