Click or drag to resize
DigitalRuneQuaternionFToRotationMatrix44 Method
Returns the 4 x 4 rotation matrix of this quaternion.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public Matrix44F ToRotationMatrix44()

Return Value

Type: Matrix44F
The rotation matrix.
Remarks

The method assumes that this quaternion is a unit quaternion (i.e. that it is normalized). The unit quaternion specifies a rotation that can be converted into a corresponding rotation matrix.

The resulting 4 x 4 matrix specifies a 3-dimensional rotation in the homogeneous coordinate space. The translation part of the matrix is set to (0, 0, 0).

See Also