#ifndef SPACECRAFT_H #define SPACECRAFT_H #include "physics.h" #include "orbital_mechanics.h" struct Spacecraft { char name[64]; double mass; int parent_index; // Orbital elements from config OrbitalElements orbit; // Global frame (from origin) Vec3 global_position; Vec3 global_velocity; // Local frame (relative to parent) Vec3 local_position; Vec3 local_velocity; }; #endif