QuadTree
A simple QuadTree implementation
So basically here I've got a bunch of objects all
colliding with each other using a QuadTree to optimise
the process
I'm pretty certain this isn't the fastest implementation
though. I can only push about 500 around
Plus you'll notice that when on intersections, things
get pretty piss poor. But it's much faster than a straight
comparison between all objects on screen, so there you
go...
@author Aaron Steed, nitrome.com
- forked:6
- favorite:18
- lines:170
- license : MIT License
- modified : 2010-04-15 02:17:09
treequad tree
QuadTree
衝突判定に四分木を利用


