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::XiaolinWu; 

fn main() {
    for ((x, y), value) in XiaolinWu::<f32, i8>::new((0.0, 0.0), (3.0, 6.0)) {
        print!("(({}, {}), {}), ", x, y, value);
    }
}