to Mat4
Converts the quaternion to a 4x4 rotation matrix and stores it in the provided array.
Parameters
res
The array to store the resulting rotation matrix.
Converts the quaternion to a 4x4 rotation matrix and stores it in the provided array.
The array to store the resulting rotation matrix.