ilattice 0.2.0

2 and 3-dimensional integer lattice math.
Documentation
1
2
3
4
5
6
7
8
9
# ilattice

Generic math on [integer lattices](https://en.wikipedia.org/wiki/Integer_lattice) (regular grids).

This crate provides types and traits that make it easy to write generic code with integer lattices, i.e. Z<sup>2</sup> and
Z<sup>3</sup>. In particular, we provide implementations of [`IntegerVector`](crate::vector::IntegerVector) for `glam`'s
[`IVec2`](glam::IVec2), [`IVec3`](glam::IVec3), [`UVec2`](glam::UVec2) and [`UVec3`](glam::UVec3) types. There are also some
traits that apply to vectors with real number scalars as well, and those are implemented for [`Vec2`](glam::Vec2),
[`Vec3`](glam::Vec3), and [`Vec3A`](glam::Vec3A).