]> git.itanic.dy.fi Git - sdl-planets/commit
reshape_planet: Better size estimation for the planet
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Sun, 7 Mar 2010 12:35:40 +0000 (14:35 +0200)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Sun, 7 Mar 2010 12:35:40 +0000 (14:35 +0200)
commit2f3deff623673b9e0ae9d3bdd68a7178ffcceb4a
tree7de7d7fd6a62c1548885beec1adc4d7fd34d5a8c
parenta5779855628f793adb68f5c5ef07c02fee57eed4
reshape_planet: Better size estimation for the planet

The size is now proprtional to the cubic root of the planet mass.

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