]> git.itanic.dy.fi Git - sdl-planets/commit
gravitize_planets: Fix approximation from the gravity equation
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Sat, 20 Mar 2010 12:08:18 +0000 (14:08 +0200)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Sat, 20 Mar 2010 12:08:18 +0000 (14:08 +0200)
commit7abba9a82455677d5710a02ad8fc631bddc775b0
treec7176194f3810bef05b3627b50f7470b4c388c69
parentcb323c4ba3927c4191f000ac3e12921dca40d61e
gravitize_planets: Fix approximation from the gravity equation

This was needed when there was no collosions between the planets and
the planets could "explode" when they got too close to each others.

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