Little things

This commit is contained in:
2024-07-12 23:04:53 +02:00
parent 769bd1a6ea
commit 2baf55f798
6 changed files with 119 additions and 49 deletions
+2
View File
@@ -21,5 +21,7 @@ public:
private:
std::vector<CelestialBody> bodies;
const float G = 6.67430e-11f; // Gravitational constant
void checkCollisions();
void handleCollision(CelestialBody& body1, CelestialBody& body2);
};
#endif //GRAVITY_SIMULATOR_H