Home > decentraland-ecs > Quaternion > toRotationMatrix
Updates the given rotation matrix with the current quaternion values
Signature:
toRotationMatrix(result: Matrix): Quaternion;
Returns: Quaternion
the current unchanged quaternion
Parameter | Type | Description |
---|---|---|
result |
Matrix |
defines the target matrix |