public static rotation(rotation as Rotation3d) as Matrix4
Converts a unit quaternion to a rotation matrix. Example: m = Matrix4.rotation(r)
m = Matrix4.rotation(r)