Tesla Graphics Engine Documentation (January 2012)
CreatePerspectiveMatrix Method (width, height, nearPlaneDistance, farPlaneDistance)
TeslaTesla.MathMatrixCreatePerspectiveMatrix(Single, Single, Single, Single)
Creates a perspective projection matrix.
Declaration Syntax
C#
public static Matrix CreatePerspectiveMatrix(
	float width,
	float height,
	float nearPlaneDistance,
	float farPlaneDistance
)
Parameters
width (Single)
Width of the view volume at the near view plane
height (Single)
Height of the view volume at the near view plane
nearPlaneDistance (Single)
Distance to the near view plane
farPlaneDistance (Single)
Distance to the far view plane
Return Value
Resulting projection matrix

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