Fixed orbit
This commit is contained in:
7 files changed
+110
-85
No files matched your search
@@ -3,12 +3,13 @@
|
||||
#include "vec_utils.h"
|
||||
|
||||
typedef struct {
|
||||
float mass;
|
||||
float radius;
|
||||
Vector2 position;
|
||||
Vector2 speed;
|
||||
float mass; // Earth masses.
|
||||
float radius; // Earth radii (physical collision radius).
|
||||
Vector2 position; // Earth radii.
|
||||
Vector2 speed; // Earth radii per simulated second.
|
||||
float draw_radius;
|
||||
float charge;
|
||||
float charge; // Coulombs.
|
||||
char name[32];
|
||||
} mass_body_t;
|
||||
|
||||
typedef struct universe {
|
||||
|
||||
Reference in new issue
Block a user