Function graphics::math::cross

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

Computes the cross product.