| Matrix44DCreateRotation 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 Matrix44D CreateRotation(
QuaternionD rotation
)
Public Shared Function CreateRotation (
rotation As QuaternionD
) As Matrix44D
public:
static Matrix44D CreateRotation(
QuaternionD rotation
)
static member CreateRotation :
rotation : QuaternionD -> Matrix44D
Parameters
- rotation
- Type: DigitalRune.Mathematics.AlgebraQuaternionD
The rotation described by a unit quaternion.
Return Value
Type:
Matrix44DThe created rotation matrix.
See Also