Pomax / Pjs-2D-Game-Engine

Processing.js 2D Game Engine
85 stars 53 forks source link

make actors aware what they already performed collision detection with #5

Closed Pomax closed 10 years ago

Pomax commented 12 years ago

To prevent O(n^2) collision detection, make sure everything that performed collision detection X-to-Y does not also have a codepath that checks Y-to-X