Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Orientation based offset coordinates conversion methods #189

Merged
merged 3 commits into from
Dec 22, 2024

Conversation

ManevilleF
Copy link
Owner

@ManevilleF ManevilleF commented Dec 20, 2024

Closes #178

  • (BREAKING) HexOffsetMode now has only 2 variants Even and Odd
  • (BREAKING) Hex::to_offset_coordinates and Hex::from_offset_coordinates
    take a new HexOrientation parameter

@ManevilleF ManevilleF mentioned this pull request Dec 20, 2024
@ManevilleF ManevilleF added this to the 0.20.0 milestone Dec 20, 2024
@ManevilleF ManevilleF added the usability Make the APIs easier to use label Dec 20, 2024
@ManevilleF ManevilleF merged commit 15dec29 into main Dec 22, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usability Make the APIs easier to use
Projects
None yet
Development

Successfully merging this pull request may close these issues.

About OffsetHexMode
1 participant