Function line_drawing::bresenham [] [src]

pub fn bresenham<T: SignedNum>(start: Point<T>, end: Point<T>) -> Vec<Point<T>>

A convenience function to collect the points from Bresenham into a Vec.