Files
fphysics/objects.h
T
2026-09-30 22:56:09 +02:00

18 lines
289 B
C

#ifndef OBJECTS_H_
#define OBJECTS_H_
#include "vec_utils.h"
typedef struct {
float mass;
float radius;
Vector2 position;
Vector2 speed;
float charge;
} mass_body_t;
typedef struct universe {
unsigned int num_bodies;
mass_body_t *bodies;
} universe_t;
#endif // OBJECTS_H_