Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GLU

Method GLU.gluOrtho2D()


Method gluOrtho2D

void 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