[−][src]Trait rltk::Algorithm3D
Implement these for handling conversion to/from 2D coordinates (they are separate, because you might want Dwarf Fortress style 3D!)
Required methods
fn point3d_to_index(&self, pt: Point3) -> usize
Convert a Point (x/y) to an array index.
fn index_to_point3d(&self, idx: usize) -> Point3
Convert an array index to a point.