toMatrix

fun toMatrix(): Mat4

Converts this quaternion to a rotation matrix.