gluOrtho2D function
The gluOrtho2D function defines a 2-D orthographic projection matrix.
void WINAPI gluOrtho2D(
GLdouble left,
GLdouble right,
GLdouble bottom,
GLdouble top,
);
-
left
-
The coordinate for the left vertical clipping plane.
-
right
-
The coordinate for the right vertical clipping plane.
-
bottom
-
The coordinate for the bottom horizontal clipping plane.
-
top
-
The coordinate for the top horizontal clipping plane.
This function does not return a value.
The gluOrtho2D function sets up a two-dimensional orthographic viewing region. This is equivalent to calling glOrtho with zNear = -1 and zFar = 1.
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
Library |
|
DLL |
|