| Matrix33DCreateRotation Method (QuaternionD) |
Creates a rotation matrix from a unit quaternion.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static Matrix33D CreateRotation(
QuaternionD rotation
)
Public Shared Function CreateRotation (
rotation As QuaternionD
) As Matrix33D
public:
static Matrix33D CreateRotation(
QuaternionD rotation
)
static member CreateRotation :
rotation : QuaternionD -> Matrix33D
Parameters
- rotation
- Type: DigitalRune.Mathematics.AlgebraQuaternionD
The rotation described by a unit quaternion.
Return Value
Type:
Matrix33DThe created rotation matrix.
See Also