Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ManevilleF/hexx Loading
base: 0.16.1
Choose a base ref
...
head repository: ManevilleF/hexx Loading
compare: 0.17.0
Choose a head ref
  • 8 commits
  • 21 files changed
  • 1 contributor

Commits on Apr 8, 2024

  1. Q&A Readme section (#147)

    Explicative section in the README about `Ord` and `PartialOrd`
    ManevilleF committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    4d5580d View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. 2D Vec storage for hex maps (#163)

    # Work done
    
    Added a storage optimized `HexagonalMap` utilizing some tricks to be
    able to store hex maps in a 2d vector instead on having to rely on
    hashmaps.
    
    > See https://www.redblobgames.com/grids/hexagons/#map-storage
    
    ## Usage
    
    This implementation only supports:
    - **Dense**
    - Hexagon-shaped
    - Fixed sized
    
    storage.
    
    This can be useful for large hexagon shaped maps, as well as for chunk
    based maps, chunking would usually be of hexagonal shape.
    
    ## TODO
    
    - [x] Benchmark
    - [x] Usage in an example
    - [x] Changelog
    ManevilleF committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    9a6adcc View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2024

  1. Storage module with Rombus Map (#164)

    Follow up to #163 
    
    Added 1D optimized storage for rombus shapes
    ManevilleF committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    d2a7b3b View commit details
    Browse the repository at this point in the history
  2. Improved rings performance (#165)

    - Hex ring +50%
    - Hex corner wedge + 50%
    ManevilleF committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    3a7c5f1 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2024

  1. Shapes example (#166)

    - New shapes explorer example
    - New shape builder structs
    ManevilleF committed Apr 13, 2024
    Configuration menu
    Copy the full SHA
    7749488 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. Rectiline path to (#167)

    Added `Hex::rectiline_to` 
    
    ## Misc changes
    
    * Added `HexLayout::all_edges_cordinates` 
    * Added `DirectionWay::map` 
    
    ## Cleanup for 0.17 
    
    * (**BREAKING**) Removed the following ambiguous const values: 
      * `Hex::Z`
      * `Hex::NEG_Z`
      * `Hex::AXES`
      * `Hex::AXES`
    ManevilleF committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    f1099e5 View commit details
    Browse the repository at this point in the history
  2. Axis pair unit vectors

    ManevilleF committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    1c6dc49 View commit details
    Browse the repository at this point in the history
  3. 0.17.0

    ManevilleF committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    cca90b7 View commit details
    Browse the repository at this point in the history
Loading