diff --git a/src/game.cpp b/src/game.cpp index 0d6c73c..90974c6 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -258,6 +258,12 @@ applyManeuver(GameOrbit* orbit, double previous_true_anomaly) dvec3 pos = orbitGetPositionVector(r, theta); dvec3 vel = orbitGetVelocityVector(mu, h, sys.elements.e, theta); + // FIXME: need to count rotation from the 'I' axis on equatorial orbits + // WIP + // also need to get the updated eccentricity vector before we can calculate + // the other angular orbital elements + //sys.elements.omega = sys.elements.nu; + // WIP sys.rotation = orbitGetXForm(sys.elements); sys.sat.position = sys.rotation * pos; sys.sat.velocity = sys.rotation * vel; diff --git a/src/main.cpp b/src/main.cpp index 1c2a717..e2cc445 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -11,7 +11,7 @@ * - Hohmman transfer orbits * - make an 'overlay' graphic for things like apoapsis, perisapsis, f1, f2, * flight path - * - fix coordinate directions overlay + * - fix coordinate directions overlay * - patched conic method for transferring between 2 grav bodies * - test parabolic/hyperbolic trajectories * - organize orbit functions into interface/internal functions