Tesla Graphics Engine Documentation (January 2012)
CreatePerspectiveFOVMatrix Method (fieldOfView, aspectRatio, nearPlaneDistance, farPlaneDistance)
TeslaTesla.MathMatrixCreatePerspectiveFOVMatrix(Single, Single, Single, Single)
Creates a perspective projection matrix based on a field of view.
Declaration Syntax
C#
public static Matrix CreatePerspectiveFOVMatrix(
	float fieldOfView,
	float aspectRatio,
	float nearPlaneDistance,
	float farPlaneDistance
)
Parameters
fieldOfView (Single)
Field of view angle in radians, must be between 0 and Pi
aspectRatio (Single)
Aspect ratio, defined as the view space's width divided by height
nearPlaneDistance (Single)
Distance to the near plane
farPlaneDistance (Single)
Distance to the far plane
Return Value
Resulting projection matrix

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