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

Make the anchor in polygon generic #36

Open
gw3583 opened this issue Sep 11, 2019 · 2 comments
Open

Make the anchor in polygon generic #36

gw3583 opened this issue Sep 11, 2019 · 2 comments

Comments

@gw3583
Copy link
Contributor

gw3583 commented Sep 11, 2019

Could we make the anchor field in Polygon which is currently a usize be a generic type?

It would allow us to use a type-safe index in WR, and be useful for a local patch I'm working on (where the ideal anchor would end up being a tuple or simple struct with two indices).

@gw3583
Copy link
Contributor Author

gw3583 commented Sep 11, 2019

cc @kvark

@kvark
Copy link
Member

kvark commented Sep 11, 2019

Sure!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants