Function graphics::math::cross [] [src]

pub fn cross<T>(a: [T; 2], b: [T; 2]) -> T where T: Copy + Mul<T, Output=T> + Sub<T, Output=T>

Computes the cross product.