Crates.io | ilattice |
lib.rs | ilattice |
version | 0.4.0 |
source | src |
created_at | 2021-10-21 02:41:31.890292 |
updated_at | 2023-11-27 08:11:06.358876 |
description | 2 and 3-dimensional integer lattice math. |
homepage | |
repository | https://github.com/bonsairobo/ilattice-rs |
max_upload_size | |
id | 468248 |
size | 56,750 |
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
.