Function polygon2::in_rect [] [src]

pub fn in_rect<T>(p: &[T; 2], a: &[T; 2], b: &[T; 2]) -> bool where
    T: Copy + Num