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

Finished JS bindings for basic collision filtering #59

Merged
merged 1 commit into from
Jul 17, 2017

Conversation

camerondm9
Copy link
Contributor

This adds JavaScript bindings for b2Fixture.Refilter, and a JavaScript version of b2Fixture.SetFilterData. It also makes b2Body set the fixture's filter from the fixtureDef.

@camerondm9
Copy link
Contributor Author

The compiled JavaScript files should be updated by someone else, because my version of emcc creates a ~14kB larger output file, which seems unreasonable.

@stewartmiles
Copy link
Contributor

Apologies for the slow response on this. Patch looks fine. w.r.t the larger compiled JavaScript, 14kB in the context of the rest of the library doesn't sound too bad, we would be happy to merge an update.

@stewartmiles stewartmiles merged commit 6c142b0 into google:master Jul 17, 2017
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