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

Use entity index for QBVH nodes instead of entity bits #59

Merged
merged 1 commit into from
Jul 8, 2023

Conversation

Jondolf
Copy link
Owner

@Jondolf Jondolf commented Jul 8, 2023

The entity bits contain the entity generation. This generation can be very big, which can cause QBVH allocations in the spatial query pipeline to be way too large. Using just the index and storing the generation separately fixes this.

Thanks to NiseVoid on the Discord for finding this.

@Jondolf Jondolf added the C-Bug Something isn't working label Jul 8, 2023
@Jondolf Jondolf merged commit c7d274f into main Jul 8, 2023
@Jondolf Jondolf deleted the spatial-query-bug-fix branch July 8, 2023 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant