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

AABB Version? #3

Open
Guedez opened this issue Dec 6, 2020 · 1 comment
Open

AABB Version? #3

Guedez opened this issue Dec 6, 2020 · 1 comment

Comments

@Guedez
Copy link

Guedez commented Dec 6, 2020

Can you make a version that 'indexes' the elements by an AABB bound rather than a Point? I've tried to convert this myself a couple of times over the months, but I couldn't figure out those MortonCodes things

@marijnz
Copy link
Owner

marijnz commented Dec 6, 2020

Hey,

I did an experiment like this on the 2d version. Maybe have a look and let me know if it helps. I'm not sure if this it a good idea though, especially in 3d it's probably too wasteful.

https://github.com/marijnz/NativeQuadtree/tree/experiment_rects

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

No branches or pull requests

2 participants