#voxel #gamedev #3d #geometry #mesh #blocks

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

#1504 in Math

Download history 34/week @ 2023-06-04 17/week @ 2023-06-11 123/week @ 2023-06-18 75/week @ 2023-06-25 114/week @ 2023-07-02 49/week @ 2023-07-09 65/week @ 2023-07-16 60/week @ 2023-07-23 30/week @ 2023-07-30 53/week @ 2023-08-06 79/week @ 2023-08-13 272/week @ 2023-08-20 206/week @ 2023-08-27 72/week @ 2023-09-03 42/week @ 2023-09-10 42/week @ 2023-09-17

410 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.3–3.5MB
~72K SLoC