Closed ghost closed 12 years ago
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...
Nope, just func(constraint). The rest of the information will be available in the closure of func, because JavaScript is awesome and has closures.
func
PS thanks!
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...