pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]
GLU

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

Module reference for Pike v7.8 release 116, 2008-12-31