Skip to content

Add proper representations for axial, doubled and offset (hex) coordinates #5

Description

@fwcd

See here:

// TODO: Add better representation of different Hex coordinate systems and (orthogonally) local/global coordinates
// We have a few options for that:
// - Generic Vec2/Vec3 types, parameterized over marker types (Offset, Axial, Doubled, Cube, ... and Local, Global)
// - Newtype wrappers around Vec2/Vec3 types
// - For those, we might consider using https://github.com/JelteF/derive_more to derive the operator traits

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions