]> git.itanic.dy.fi Git - sdl-planets/commit
quadtree: Pass quadtree iterator structure to the callback functions quadtree-dev
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Thu, 8 Apr 2010 16:23:24 +0000 (19:23 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Thu, 8 Apr 2010 16:34:12 +0000 (19:34 +0300)
commitad151c6f4cec970b140002230458a186922d0fe9
tree3c1d657d47d58d91f9d24377710ce86113b05bf6
parent620ab30d1b3c4366afbf8347d2cf17af693e2461
quadtree: Pass quadtree iterator structure to the callback functions

This is better than plain void pointer, since now the iterator can be
embedded as part of some other struct. This simplifies the design.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
quadtree.c
quadtree.h