pub fn dot_quat(a: Quat, b: Quat) -> f32
Compute dot product of two quaternions. Useful for polarity tests.