| QuaternionFRotate 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 Vector3F Rotate(
Vector3F vector
)
Public Function Rotate (
vector As Vector3F
) As Vector3F
public:
Vector3F Rotate(
Vector3F vector
)
member Rotate :
vector : Vector3F -> Vector3F
Parameters
- vector
- Type: DigitalRune.Mathematics.AlgebraVector3F
The vector.
Return Value
Type:
Vector3FThe rotated vector.
Remarks
The rotation of a vector v by quaternion q is defined as:
(0, v') = q * (0, v) * q-1
See Also