Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

fix Body.getVelAtPoint etc and (hopefully) Body.eachConstraint #9

Merged
merged 1 commit into from Oct 8, 2012

Conversation

Projects
None yet
2 participants
Contributor

tnovelli commented Oct 8, 2012

BTW, I don't have any code to test .eachConstraint... in the C version I see func(body, constraint, data); but in your port it's func(constraint); -- should that be this.call(constraint) ? Gahhh, OO strikes again...

Collaborator

nornagon commented Oct 8, 2012

Nope, just func(constraint). The rest of the information will be available in the closure of func, because JavaScript is awesome and has closures.

@nornagon nornagon added a commit that referenced this pull request Oct 8, 2012

@nornagon nornagon Merge pull request #9 from tnovelli/master
fix Body.getVelAtPoint etc and (hopefully) Body.eachConstraint
d0a855b

@nornagon nornagon merged commit d0a855b into josephg:master Oct 8, 2012

Collaborator

nornagon commented Oct 8, 2012

PS thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment