use na::U2; use traits::Number; use aliases::Vec; /// The 2D perpendicular product between two vectors. pub fn cross(v: &Vec, u: &Vec) -> N { v.perp(u) }