#ifndef ORBITAL_MECHANICS_H #define ORBITAL_MECHANICS_H #include "physics.h" struct OrbitalElements { double semi_major_axis; double eccentricity; double inclination; double longitude_of_ascending_node; double argument_of_periapsis; double true_anomaly; }; void orbital_elements_to_cartesian(OrbitalElements elements, double parent_mass, Vec3* out_position, Vec3* out_velocity); #endif