ilattice

Crates.ioilattice
lib.rsilattice
version0.4.0
sourcesrc
created_at2021-10-21 02:41:31.890292
updated_at2023-11-27 08:11:06.358876
description2 and 3-dimensional integer lattice math.
homepage
repositoryhttps://github.com/bonsairobo/ilattice-rs
max_upload_size
id468248
size56,750
Duncan (bonsairobo)

documentation

README

ilattice

Generic math on integer lattices (regular grids).

This crate provides types and traits that make it easy to write generic code with integer lattices, i.e. Z2 and Z3. In particular, we provide implementations of IntegerVector for glam's IVec2, IVec3, UVec2 and UVec3 types. There are also some traits that apply to vectors with real number scalars as well, and those are implemented for Vec2, Vec3, and Vec3A.

Commit count: 60

cargo fmt