From 681ff82f889800342b1cd993786cb5642e7d4e08 Mon Sep 17 00:00:00 2001 From: cinnaboot Date: Sat, 24 Jan 2026 09:38:47 -0500 Subject: [PATCH] add FIXME about inclined orbits --- src/simulation.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/simulation.cpp b/src/simulation.cpp index b508095..0a76382 100644 --- a/src/simulation.cpp +++ b/src/simulation.cpp @@ -187,6 +187,8 @@ static Vec3 calc_orbital_velocity(CelestialBody* body, CelestialBody* parent) { assert(v_squared >= 0); double speed = (double) sqrt(v_squared); + // FIXME: this whole section is just wrong and will break with inclined orbits + // it's also a failure of our testing that we're not catching it Vec3 z_axis = {0.0, 0.0, 1.0}; Vec3 vel_dir = vec3_cross(z_axis, r);