Method RotationQuaternion
RotationQuaternion(Quaternion)
Creates a rotation matrix from a rotation.
Declaration
public static Matrix RotationQuaternion(Quaternion rotation)
Parameters
| Type | Name | Description |
|---|---|---|
| Quaternion | rotation | The quaternion to use to build the matrix. |
Returns
| Type | Description |
|---|---|
| Matrix | The created rotation matrix. |