NAME

gluOrtho2D - define a 2D orthographic projection matrix

C SPECIFICATION

void gglluuOOrrtthhoo22DD( GLdouble _l_e_f_t,
                 GLdouble _r_i_g_h_t,
                 GLdouble _b_o_t_t_o_m,
                 GLdouble _t_o_p )

delim $$

PARAMETERS

_l_e_f_t, _r_i_g_h_t
Specify the coordinates for the left and right vertical clipping planes.
_b_o_t_t_o_m, _t_o_p
Specify the coordinates for the bottom and top horizontal clipping planes.

DESCRIPTION

gglluuOOrrtthhoo22DD sets up a two-dimensional orthographic viewing region. This is equivalent to calling ggllOOrrtthhoo with $ near ~=~ -1 $ and $ far ~=~ 1 $.

SEE ALSO

ggllOOrrtthhoo((33GG)), gglluuPPeerrssppeeccttiivvee((33GG))