pub fn vec2_cross<T>(a: [T; 2], b: [T; 2]) -> Twhere
    T: Copy + Mul<Output = T> + Sub<Output = T>,
Expand description

Computes the cross product.