]> git.itanic.dy.fi Git - sdl-planets/commit
planet: Add tree statistics
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Sun, 11 Apr 2010 16:16:18 +0000 (19:16 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Sun, 11 Apr 2010 16:16:18 +0000 (19:16 +0300)
commit8db33b7ce801152a3a92976ed5add7ffbe2a03eb
treea74f5b74438f0f8f5c19ad3cf24d15a87236b145
parenta73e072accf0d9f05a13391677a20adf1f145894
planet: Add tree statistics

The total mass and area of the subtree tree is calculated.

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