Click or drag to resize
DigitalRuneGeometryHelper.ExtractPlanes Method (Matrix44F, IList<Plane>, Boolean)
Extracts the viewing frustum planes of a world-view-projection matrix.

Namespace: DigitalRune.Geometry
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public static void ExtractPlanes(
	Matrix44F projection,
	IList<Plane> planes,
	bool normalize
)

Parameters

projection
Type: DigitalRune.Mathematics.Algebra.Matrix44F
The world-view-projection matrix (DirectX standard).
planes
Type: System.Collections.Generic.IList<Plane>
IN: An empty list of planes. OUT: The planes that define the frustum in the order: near, far, left, right, bottom, top. The plane normals are pointing outwards.
normalize
Type: System.Boolean
true if the planes should be normalized; otherwise false.
Exceptions
ExceptionCondition
ArgumentNullExceptionplanes is null.
See Also