Glu.Ortho2D (gb.opengl.glu)

Static Sub Ortho2D ( Left As Float, Right As Float, Bottom As Float, Top As Float )

Define a 2D orthographic projection matrix.

Parameters

left, right

Specify the coordinates for the left and right vertical clipping planes.
bottom, top

Specify the coordinates for the bottom and top horizontal clipping planes.

Description

Glu.Ortho2D sets up a two-dimensional orthographic viewing region. This is equivalent to calling Gl.Ortho with near -1 and far 1 .

See also

Gl.Ortho,

See original documentation on OpenGL website