diff options
-rw-r--r-- | xd.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -4005,9 +4005,7 @@ static void GravityDemo(void) gravobj[r].mass += gravobj[f].mass; } - g = 1.0 / d*d; - - g *= gravobj[f].mass / 10000.0; + g = (0.000001 * gravobj[f].mass * gravobj[r].mass) / d*d; dx /= d; dy /= d; |