2 unstable releases

0.2.0 Mar 6, 2024
0.1.0 Mar 6, 2024

#622 in Game dev

Download history 223/week @ 2024-03-02 49/week @ 2024-03-09 4/week @ 2024-03-16 37/week @ 2024-03-30 8/week @ 2024-04-06

52 downloads per month
Used in bevy_ghx_grid

MIT/Apache

29KB
580 lines

Ghx Grid

ghx_grid on crates.io ghx_grid on doc.rs

debug_grid_and_markers

Structures and utilities to manipulate 2d & 3d grid data.

Cargo features

Find the list and description in ghx_grid/cargo.toml

  • bevy: Disabled by default, enabling it simply derives Component on common structs of the crate.
  • reflect: Disabled by default, enabling it simply derives Reflect on common structs of the crate.

For Bevy users

See the bevy_ghx_grid crate which uses and exposes ghx_grid, as well as additional plugins and utilities dedicated to Bevy.

Compatible Bevy versions

bevy_ghx_grid ghx_grid bevy
0.2 0.2 0.13
0.1 0.1 0.12

Misc

Limitations:

  • CoordinateSystem and Direction type are not yet generic enough to support much more grid types than 2d & 3d cartesian.

Why "ghx" ?

  • It serves as a namespace to avoid picking cargo names such as grid or bevy_grid

License

Code

ghx_grid is free and open source. All code in this repository is dual-licensed under either:

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0–31MB
~421K SLoC