12 releases
0.5.2 | Dec 28, 2023 |
---|---|
0.5.1 | Jan 17, 2023 |
0.4.0 | Jan 9, 2023 |
0.3.4 | Oct 14, 2022 |
0.1.0 | Jul 23, 2022 |
#316 in Math
27 downloads per month
Used in 2 crates
40KB
1K
SLoC
Another Grid Library Except Terrible
This is a successor to my old crate cogs_gamedev's grids
module.
It adds opinionated integer-based coordinates and directions, along with some other useful things:
- Iterators over areas, edges of areas, and lines
Grid<T>
, which is like aHashMap<Coord, T>
but faster
Also supports serde, under the default feature serde
.
Dependencies
~0.4–1MB
~23K SLoC