]> git.itanic.dy.fi Git - sdl-planets/commit
quadtree: Implement quadtree_find_parent
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Mon, 5 Apr 2010 08:42:15 +0000 (11:42 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Mon, 5 Apr 2010 09:15:40 +0000 (12:15 +0300)
commit645c46fa111deeba2ab782c96d300ba2ddb5bdf1
tree5caf0ba783108aa9967b00ba0eceea2cc5669816
parent3c8b0971f025d3b02d6d347aeb6555bb898a3df7
quadtree: Implement quadtree_find_parent

This helper function simply returns the highest parent of a given
node.

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