Function line_drawing::xiaolin_wu_sorted [] [src]

pub fn xiaolin_wu_sorted<I: FloatNum, O: SignedNum>(
    start: Point<I>,
    end: Point<I>
) -> VecDeque<(Point<O>, I)>

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