Quadtree test
A simple example of how you can use quadtrees to speed up simulations.
Dylan J. Raub
(dylanjraub)
A simple example of how you can use quadtrees to speed up simulations. Quadtrees can be use for more then just collision detection, even though that's it's primary use. It can be used for rendering, compressing, sorting, and more.
Changes
Links
Releases
Quadtree test 0.1 — 11 Nov, 2010
Pygame.org account Comments
-
Annon 2012-09-26 18:11
there is an error
line 239, in render
self.world.rects.append(pygame.draw.circle(self.world.screen, c, self.pos, self.radius))
TypeError: integer argument expected, got float