Function line_drawing::walk_grid_sorted [] [src]

pub fn walk_grid_sorted<T: SignedNum>(
    start: Point<T>,
    end: Point<T>
) -> VecDeque<Point<T>>

Sorts the points before hand to ensure that the line is symmetrical and collects into a VecDeque.