Click or drag to resize
DigitalRuneVector4FHomogeneousDivide Method
Performs the homogeneous divide or perspective divide: X, Y and Z are divided by W.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static Vector3F HomogeneousDivide(
	Vector4F vector
)

Parameters

vector
Type: DigitalRune.Mathematics.AlgebraVector4F
The vector.

Return Value

Type: Vector3F
The vector (X/W, Y/W, Z/W).
Exceptions
ExceptionCondition
DivideByZeroException Component W is 0.
See Also