Tao.OpenGl SDK Documentation |
|
Glu.gluOrtho2D Method
Defines a 2D orthographic projection matrix.
[Visual Basic]
Public Shared Sub gluOrtho2D( _
ByVal
left As
Double, _
ByVal
right As
Double, _
ByVal
bottom As
Double, _
ByVal
top As
Double _
)
Parameters
-
left
- The coordinates for the leftvertical clipping planes.
-
right
- The coordinates for the right vertical clipping planes.
-
bottom
- The coordinates for the bottom horizontal clipping planes.
-
top
- The coordinates for the top horizontal clipping planes.
Remarks
The gluOrtho2D function sets up a two-dimensional orthographic viewing region. This is equivalent to calling glOrtho with near = ?–1 and far = 1.
See Also
Glu Class | Tao.OpenGl Namespace | glOrtho | gluPerspective