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.


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.


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


See original documentation on OpenGL website