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: HexLayout has a single scale field for axis management #190

Merged
merged 4 commits into from
Dec 22, 2024

Conversation

ManevilleF
Copy link
Owner

@ManevilleF ManevilleF commented Dec 22, 2024

Reworked HexLayout axis scale management:

  • (BREAKING) HexLayout removed the invert_x and invert_y fields
  • (BREAKING) HexLayout hex_size field is now scale
  • Added the following HexLayout methods:
    • transform_point
    • transform_vector
    • inverse_transform_point
    • inverse_transform_vector
    • invert_x
    • invert_y
  • Added world_unit_vector methods to EdgeDirection and VertexDirection

@ManevilleF ManevilleF added usability Make the APIs easier to use breaking-change A breaking change that requires a new major version labels Dec 22, 2024
@ManevilleF ManevilleF added this to the 0.20.0 milestone Dec 22, 2024
@ManevilleF ManevilleF enabled auto-merge (squash) December 22, 2024 15:02
@ManevilleF ManevilleF merged commit b53202d 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
breaking-change A breaking change that requires a new major version usability Make the APIs easier to use
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant