pub fn vec4_dot<T>(a: [T; 4], b: [T; 4]) -> Twhere T: Copy + Add<Output = T> + Mul<Output = T>,
Computes the dot product.