Skip to content
This repository has been archived by the owner on Sep 7, 2019. It is now read-only.

AABB 2-d convenience getters exhibit unintuitive behavior when there are fewer than 4 vertices. #10

Open
EliaGorokhovsky opened this issue Dec 25, 2018 · 0 comments

Comments

@EliaGorokhovsky
Copy link
Collaborator

Basically, they don't work at all. A way to fix this is by getting vertices by adding any combinations of components of the AABB's extent to the initial point. This would be O(2^n), which may be faster than the current vertices getter.

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

No branches or pull requests

1 participant