Function vec2::dot [] [src]

pub fn dot<T: Copy + Num>(a: &[T; 2], b: &[T; 2]) -> T