Pike v8.1 release 6

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