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

Change wasm lib to use pointCount() #148

Merged
merged 1 commit into from
Jun 2, 2023
Merged

Change wasm lib to use pointCount() #148

merged 1 commit into from
Jun 2, 2023

Conversation

mrschofield
Copy link
Contributor

Change the emscripten entrypoint to use file->pointCount() instead of directly accessing the legacy point count from the header. The function now returns the correct value, even when the legacy point count on the header isn't set.

… directly accessing the legacy point count from the header. The function now returns the correct value, even when the legacy point count on the header isn't set.
@hobu hobu requested a review from connormanning June 2, 2023 10:46
@connormanning connormanning merged commit 64fe9a5 into hobuinc:master Jun 2, 2023
connormanning added a commit that referenced this pull request Jun 2, 2023
@connormanning
Copy link
Collaborator

Works for me. I added a test for the updated behavior.

@connormanning
Copy link
Collaborator

And published to npm as 0.0.6.

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