line_drawing 0.5.0

A collection of line-drawing algorithms for use in graphics and video games.
Documentation
extern crate line_drawing;
use line_drawing::Midpoint; 

fn main() {
    for (x, y) in Midpoint::<_, i8>::new((0.2, 0.02), (2.8, 7.7)) {
        print!("({}, {}), ", x, y);
    }
}