]> git.itanic.dy.fi Git - sdl-planets/commit
move_planet: Optimize the tree topology change detection
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Sun, 18 Apr 2010 10:24:56 +0000 (13:24 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Sun, 18 Apr 2010 10:27:52 +0000 (13:27 +0300)
commitccdad280e06765f7d7262075d8ef408ce1fad1ca
treef0ee88c9b39c6a5da14b9fd0614e061c0535f99d
parenta0983e08f04d31f8783f4ed5f20267626832a12e
move_planet: Optimize the tree topology change detection

This change avoids repositioning unnecessary the nodes within the
tree.

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