Converts a quaternion into a 4x4 matrix representing the same rotation.

Parameters

result

The 4x4 matrix to be populated with the rotation matrix.

q

The quaternion to be converted into a rotation matrix.