#voxel #2d-3d #integer #real-time #point #lattice #gamedev

building_blocks_core

The core data types for defining 2D and 3D integer lattices

12 releases (6 breaking)

0.7.1 Sep 23, 2021
0.7.0 Jun 14, 2021
0.6.0 Mar 21, 2021
0.5.0 Feb 8, 2021
0.1.0 Oct 26, 2020

#43 in #lattice

Download history 8/week @ 2024-07-20 13/week @ 2024-07-27 12/week @ 2024-08-03 7/week @ 2024-08-10 4/week @ 2024-08-17 6/week @ 2024-08-24 15/week @ 2024-08-31 10/week @ 2024-09-07 7/week @ 2024-09-14 24/week @ 2024-09-21 39/week @ 2024-09-28 2/week @ 2024-10-05 26/week @ 2024-10-12 10/week @ 2024-10-19 4/week @ 2024-10-26 24/week @ 2024-11-02

64 downloads per month
Used in 8 crates

MIT license

60KB
2K SLoC

The core data types for defining 2D and 3D integer lattices:

  • PointN: an N-dimensional point, most importantly Point2i and Point3i
  • ExtentN: an N-dimensional extent, most importantly Extent2i and Extent3i

Dependencies

~1.2–3.5MB
~83K SLoC