diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2006-11-29 17:01:55 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2006-11-29 17:01:55 +0000 |
commit | 4326795e6af251f5fef91f197bc883079fa92f99 (patch) | |
tree | 82b19811f2a17c6f1303b3d7f582b22f09bc7d38 /doc/gl-docs/GLU/ortho2d.3gl | |
parent | 8792f4be39d5024284e8c412d0dc92cf1f90dba1 (diff) |
GLU manual pages from monolithic tree
Diffstat (limited to 'doc/gl-docs/GLU/ortho2d.3gl')
-rw-r--r-- | doc/gl-docs/GLU/ortho2d.3gl | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/doc/gl-docs/GLU/ortho2d.3gl b/doc/gl-docs/GLU/ortho2d.3gl new file mode 100644 index 000000000..02c38a9ee --- /dev/null +++ b/doc/gl-docs/GLU/ortho2d.3gl @@ -0,0 +1,41 @@ +'\" e +'\"! eqn | mmdoc +'\"macro stdmacro +.ds Vn Version 1.2 +.ds Dt 6 March 1997 +.ds Re Release 1.2.0 +.ds Dp May 02 11:53 +.ds Dm 37 ortho2d.g +.ds Xs 62574 3 ortho2d.gl +.TH GLUORTHO2D 3G +.SH NAME +.B "gluOrtho2D +\- define a 2D orthographic projection matrix + +.SH C SPECIFICATION +void \f3gluOrtho2D\fP( +GLdouble \fIleft\fP, +.nf +.ta \w'\f3void \fPgluOrtho2D( 'u + GLdouble \fIright\fP, + GLdouble \fIbottom\fP, + GLdouble \fItop\fP ) +.fi + +.EQ +delim $$ +.EN +.SH PARAMETERS +.TP \w'\f2left\fP\ \f2right\fP\ \ 'u +\f2left\fP, \f2right\fP +Specify the coordinates for the left and right vertical clipping planes. +.TP +\f2bottom\fP, \f2top\fP +Specify the coordinates for the bottom and top horizontal clipping planes. +.SH DESCRIPTION +\%\f3gluOrtho2D\fP sets up a two-dimensional orthographic viewing region. +This is equivalent to calling \f3glOrtho\fP with $ near ~=~ -1 $ and +$ far ~=~ 1 $. +.SH SEE ALSO +\f3glOrtho(3G)\fP, \%\f3gluPerspective(3G)\fP + |