Function line_drawing::midpoint_sorted
[−]
[src]
pub fn midpoint_sorted<I: FloatNum, O: SignedNum>(
start: Point<I>,
end: Point<I>
) -> VecDeque<Point<O>>
Sorts the points before hand to ensure that the line is symmetrical and collects into a
VecDeque
.