griditer 0.1.0

Contains a couple of iterators for implementing 2D grid based algoritms.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! This crate is a (so far tiny) collection of iterator types
//! useful in implementing grid-based algorithms.
//!
//! Currently only [Bresenham's](struct.BresenhamIter.html) and
//! [Perimeter](struct.PerimeterIter.html) iterators are available.

mod iter;
mod coord;

pub use iter::{
    bresenham::BresenhamIter,
    perimeter::PerimeterIter
};

pub use coord::Coord;