pub fn quat_normalize(q: [f64; 4]) -> [f64; 4]
Normalize a quaternion [x, y, z, w] and return it.
[x, y, z, w]
If the quaternion is near-zero, returns the identity [0,0,0,1].
[0,0,0,1]