schteppe / p2.js

JavaScript 2D physics library
Other
2.64k stars 330 forks source link

Inconsistent return values from vec2 math functions #238

Closed AndrewRayCode closed 8 years ago

AndrewRayCode commented 8 years ago

Some values return the out vector, and some don't, and in a case or two the @return documented parameter is incorrect. Creating a PR now.

simonbw commented 8 years ago

It would be cool if the body.toWorldFrame and similar methods also returned the out vector.

dasilvacontin commented 8 years ago

Closed, I'm guessing?