schteppe / p2.js

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

Why does Island.prototype.getBodies get bodies from equations? #228

Open yellowjello opened 8 years ago

yellowjello commented 8 years ago

When we make the island, we also add in the bodies associated with the island, so why can't we return these bodies instead of extracting the bodies from the equations again?