Index Index for
Section 3
Index Alphabetical
listing for G
Bottom of page Bottom of
page

gluOrtho2D()

NAME

gluOrtho2D - define a 2D orthographic projection matrix

SYNOPSIS

void gluOrtho2D( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top );

PARAMETERS

left, right Specify the coordinates for the left and right vertical clipping planes. bottom, top Specify the coordinates for the bottom and top horizontal clipping planes.

DESCRIPTION

gluOrtho2D() sets up a two-dimensional orthographic viewing region. This is equivalent to calling glOrtho() with near = -1 and far = 1.

SEE ALSO

glOrtho(3), gluPerspective(3)

Index Index for
Section 3
Index Alphabetical
listing for G
Top of page Top of
page