From 06f817044e7b2ec0bf63ed37a1cadd9f3818a787 Mon Sep 17 00:00:00 2001 From: rodri Date: Tue, 31 Jan 2023 23:46:58 +0000 Subject: use libgeometry from the system. got rid of global `theparty`. wrote a little man page draft. --- physics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'physics.c') diff --git a/physics.c b/physics.c index f7fd284..0fafea4 100644 --- a/physics.c +++ b/physics.c @@ -2,7 +2,7 @@ #include #include #include -#include "libgeometry/geometry.h" +#include #include "dat.h" #include "fns.h" @@ -17,7 +17,7 @@ accelship(Universe *u, Particle *p, double) { double g, d; - /* XXX: remember to take thrust into account, based on user input. */ + /* TODO: take thrust into account, based on user input. */ d = vec2len(subpt2(u->star.p, p->p)); d *= 1e5; /* scale to the 100km/px range */ g = G*u->star.mass/(d*d); -- cgit v1.2.3