pub fn dot(a: Vec3, b: Vec3) -> f64
The scalar product $a \cdot b = a_{0} b_{0} + a_{1} b_{1} + a_{2} b_{2}$.