{"repo":"ManevilleF/hexx","free":true,"listed":false,"github":"https://github.com/ManevilleF/hexx","clone":"git clone https://github.com/ManevilleF/hexx.git","description":"Hexagonal tools lib in rust","language":"Rust","stars":370,"topics":["coordinates","game-development","gamedev","geometry","mathematics","rust"],"license":"Apache-2.0","category":"game-templates","readme_excerpt":"Hexagonal tools lib in rust. Inspired by this RedBlobGames article and Sander Evers work This lib allows you to: Manipulate hexagon coordinates Generate hexagonal maps with custom layouts and orientation Generate hexagon meshes (planes or columns) I made the choice to use Axial Coordinates for performance and utility reasons, but the Hex type has conversion utilities with cubic , doubled , hexmod and offset coordinates. See the hexagonal coordinate systems ## Installation Run cargo add hexx in your project or add the following line to your Cargo.toml : hexx = \"0.25\" ### Cargo features hexx provides the following cargo features: serde : Enables serde support for most types facet : Enables facet support for most types rayon : Enables rayon support for parallel processing packed : Makes Hex repr(C) , useful to use it accross the FFI grid : Enables support for Face/Vertex/Edge grid handling using Hex as Face, GridVertex as vertex and GridEdge as edge. algorithms : Enables the algorithms module with: Field of Movement A Star Pathfinding Field of view mesh : Enables procedural mesh generation bevy : Enables Bevy support including: bevy platform : Enables Bevy Platform for HashMap bevy reflect : Enables Bevy Reflection for most types bevy ecs : Enables Component derives for common hexx types Some features are enabled by default, it is recommended to enable only what is needed for your usage ## Features hexx provides the Hex coordinates with: Distances Neighbors and directions Lines ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ManevilleF","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ManevilleF/hexx/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}