Tesla Graphics Engine Documentation (January 2012)
CreateOrthoMatrix Method (width, height, zNearPlane, zFarPlane)
TeslaTesla.MathMatrixCreateOrthoMatrix(Single, Single, Single, Single)
Creates an orthographic projection matrix.
Declaration Syntax
C#
public static Matrix CreateOrthoMatrix(
	float width,
	float height,
	float zNearPlane,
	float zFarPlane
)
Parameters
width (Single)
Width of view volume
height (Single)
Height of view volume
zNearPlane (Single)
Minimum z value of the view volume
zFarPlane (Single)
Maximum z value of the view volume
Return Value
Resulting projection matrix

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)