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

Rectangle Distance Squared #2

Closed
pollend opened this issue Jan 2, 2021 · 0 comments · Fixed by #19
Closed

Rectangle Distance Squared #2

pollend opened this issue Jan 2, 2021 · 0 comments · Fixed by #19

Comments

@pollend
Copy link
Member

pollend commented Jan 2, 2021

TeraMath had an option to get the shortest distance to a given rectangle. I think It would be nice to also introduce it here as well.

https://github.com/MovingBlocks/TeraMath/blob/c3d48b1becb816fa56e7793cb424d4b6efcfca1c/src/main/java/org/terasology/math/geom/Rect2i.java#L168

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

Successfully merging a pull request may close this issue.

1 participant