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

Fixes the triangle bounds array size #723

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

vtravieso
Copy link
Contributor

The size of the Float32Array for the triangle bounds was x4 too big (possibly the factor of 4 crept in from a raw ArrayBuffer allocation?).

When processing large number of triangles, this extra size could cause a failed buffer allocation.

@gkjohnson
Copy link
Owner

Thank you! Looks like this was accidentally committed in #627 & #632 when I was adjusting the class to support parallel construction.

@gkjohnson gkjohnson merged commit a64f066 into gkjohnson:master Oct 1, 2024
6 checks passed
@gkjohnson gkjohnson added this to the v0.8.2 milestone Oct 1, 2024
@vtravieso vtravieso deleted the fix-bounds-array-size branch October 2, 2024 09:43
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 this pull request may close these issues.

2 participants