Builds a right-handed perspective projection matrix based on a field of view.

Namespace: VVVV.Utils.VMath
Assembly: VVVV.Utils (in VVVV.Utils.dll) Version: 1.0.4694.10871

Syntax

C#
public static Matrix4x4 PerspectiveRH(
	double FOV,
	double Near,
	double Far,
	double Aspect
)

Parameters

FOV
Type: System..::..Double
Camera angle in cycles, [0..0.5]
Near
Type: System..::..Double
Near Plane z
Far
Type: System..::..Double
Far Plane z
Aspect
Type: System..::..Double
Aspect Ratio

Return Value

Projection matrix

See Also