nalgebra_glm
pub fn quat_dot<N: Real>(x: &Qua<N>, y: &Qua<N>) -> N
The scalar product of two quaternions.