diff options
author | rodri <rgl@antares-labs.eu> | 2023-01-31 23:46:58 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2023-01-31 23:46:58 +0000 |
commit | 06f817044e7b2ec0bf63ed37a1cadd9f3818a787 (patch) | |
tree | e3f677987e50eaffddfd7c29745ceb090d1c991f /physics.c | |
parent | 1ee28cd5ece6c035af2ab445ec774d7e0cc054ec (diff) | |
download | musw-06f817044e7b2ec0bf63ed37a1cadd9f3818a787.tar.gz musw-06f817044e7b2ec0bf63ed37a1cadd9f3818a787.tar.bz2 musw-06f817044e7b2ec0bf63ed37a1cadd9f3818a787.zip |
use libgeometry from the system. got rid of global `theparty`. wrote a little man page draft.
Diffstat (limited to 'physics.c')
-rw-r--r-- | physics.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,7 @@ #include <libc.h> #include <ip.h> #include <draw.h> -#include "libgeometry/geometry.h" +#include <geometry.h> #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); |