| Vector4DHomogeneousDivide Method |
Performs the homogeneous divide or perspective divide: X, Y and Z are divided by W.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static Vector3D HomogeneousDivide(
Vector4D vector
)
Public Shared Function HomogeneousDivide (
vector As Vector4D
) As Vector3D
public:
static Vector3D HomogeneousDivide(
Vector4D vector
)
static member HomogeneousDivide :
vector : Vector4D -> Vector3D
Parameters
- vector
- Type: DigitalRune.Mathematics.AlgebraVector4D
The vector.
Return Value
Type:
Vector3DThe vector (X/W, Y/W, Z/W).
Exceptions See Also