| QuaternionDRotate Method |
Rotates a vector.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public Vector3D Rotate(
Vector3D vector
)
Public Function Rotate (
vector As Vector3D
) As Vector3D
public:
Vector3D Rotate(
Vector3D vector
)
member Rotate :
vector : Vector3D -> Vector3D
Parameters
- vector
- Type: DigitalRune.Mathematics.AlgebraVector3D
The vector.
Return Value
Type:
Vector3DThe rotated vector.
Remarks
The rotation of a vector v by quaternion q is defined as:
(0, v') = q * (0, v) * q-1
See Also