| Matrix33FCreateRotation Method (QuaternionF) |
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 Matrix33F CreateRotation(
QuaternionF rotation
)
Public Shared Function CreateRotation (
rotation As QuaternionF
) As Matrix33F
public:
static Matrix33F CreateRotation(
QuaternionF rotation
)
static member CreateRotation :
rotation : QuaternionF -> Matrix33F
Parameters
- rotation
- Type: DigitalRune.Mathematics.AlgebraQuaternionF
The rotation described by a unit quaternion.
Return Value
Type:
Matrix33FThe created rotation matrix.
See Also