Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
GLU

Method GLU.gluOrtho2D()


Method gluOrtho2D

void GLU.gluOrtho2D(float left, float right, float bottom, float top)

Description

gluOrtho2D sets up a two-dimensional orthographic viewing region. This is equivalent to calling

glOrtho(left, right, bottom, top, -1.0, 1.0);

FIXME

The GLU manual says glOrtho(a,b,c,d, 0, 1).

See also

GL.glOrtho , gluPerspective