Replies: 2 comments 10 replies
-
That's feasible, basically you would want an API to retrieve a vertex position given a diagonal direction and an edge given a direction? When you say edge, a About the article you shared there is no plan yet for a real edge/vertex/face concept with relationships but I'm not opposed to it. What kind of use cases would that answer? |
Beta Was this translation helpful? Give feedback.
9 replies
-
@f-hoenix Could you try the draft PR #154 and see if that could fit your use case ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, thanks for this great crate 👍
I'm writting a small game using it and I find myself in need of interacting with the edges between the Hex
I did not find a lot of code related to it in the repo, did I miss something?
Somthing like this https://www.redblobgames.com/grids/parts/#hexagon-coordinates
I did find
hex_corners()
function https://docs.rs/hexx/0.13.0/src/hexx/layout.rs.html#101-104But I can't easily specify a direction to filter only the wanted edge.
Is it something that's planned? I'm willing to contribute if it's not planned
Thanks again 👍
Beta Was this translation helpful? Give feedback.
All reactions