Files
fphysics/objects.h
T
2026-09-30 23:46:14 +02:00

18 lines
294 B
C

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