Convert a quaternion into a matrix4.
Yoinked from Three.js.
See: https://threejs.org/docs/#api/en/math/Matrix4.makeRotationFromQuaternion
Convert a quaternion into a matrix4.
Yoinked from Three.js.
See: https://threejs.org/docs/#api/en/math/Matrix4.makeRotationFromQuaternion