Drawing3d documented Class Library

Matrix.Orthogonal Method

Returns the ortogonal projection, where the point( right, top, far) is mapped to (1, 1, 1) and the point( left, bottom, near) to (-1, -1, -1) Imagine a cube, which is genereted by it's edgepoints ( right, top, far) and ( left, bottom, near) Remark: The viewing cube is clipping the scene

[Visual Basic]
Public Shared Sub Orthogonal( _
   ByVal Left As Double, _
   ByVal Right As Double, _
   ByVal Bottom As Double, _
   ByVal Top As Double, _
   ByVal Near As Double, _
   ByVal Far As Double _
)
[C#]
public static Matrix Orthogonal(
   double Left,
   double Right,
   double Bottom,
   double Top,
   double Near,
   double Far
);

Parameters

Left
Leftcoordinate of the viewing cube
Right
Rightcoordinate of the viewing cube
Bottom
Bottomcoordinate of the viewing cube
Top
Topcoordinate of the viewing cube
Near
Nearcoordinate of the viewing cube
Far
Farcoordinate of the viewing cube

Return Value

Orthogonal projectionmatrix

See Also

Matrix Class | Drawing3d.Math Namespace | Frustum