pub fn vec2_neg<T>(a: [T; 2]) -> [T; 2]where
    T: Copy + Neg<Output = T>,
Expand description

Negates the vector.