Converts a quaternion to a 4x4 rotation matrix. The resulting matrix is stored in the provided matrix array.
The quaternion to convert, represented as a 4-element array [x, y, z, w].
The matrix to store the result. It will be modified in place.
The matrix representing the quaternion rotation.
Converts a quaternion to a 4x4 rotation matrix. The resulting matrix is stored in the provided matrix array.