Tesla Graphics Engine Documentation (January 2012)
CreatePerspectiveMatrix Method (width, height, nearPlaneDistance, farPlaneDistance, result)
TeslaTesla.MathMatrixCreatePerspectiveMatrix(Single, Single, Single, Single, Matrix%)
Creates a perspective projection matrix.
Declaration Syntax
C#
public static void CreatePerspectiveMatrix(
	float width,
	float height,
	float nearPlaneDistance,
	float farPlaneDistance,
	out Matrix result
)
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
result (Matrix%)
Existing matrix to hold result

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