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