]> git.itanic.dy.fi Git - sdl-planets/commit
quadtree: Move quadtree_add function in quadtree.c
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Sat, 27 Mar 2010 08:30:47 +0000 (10:30 +0200)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Sat, 27 Mar 2010 08:35:39 +0000 (10:35 +0200)
commit3ca6c8bd021b82d09fa97bb0697d73ceaa432f13
tree2e47b3924fb7a38c405dc6fc07f78a54deef74e0
parent2af9f986bebe2c5d7c0ad6bb9c79173e534084f9
quadtree: Move quadtree_add function in quadtree.c

The function in question is higly recursive. It is not likely the compiler will
be able to optimize it if it is kept in the header file as an inline function.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
quadtree.c [new file with mode: 0644]
quadtree.h