Separating into lots of headers

This commit is contained in:
Pierre committed 2026-09-29 21:51:25 +02:00
1 parent b6265c6b61
commit 5ceb272a49
5 files changed
+79 -47

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#ifndef OBJECTS_H_
#define OBJECTS_H_
#include "vec_util.h"
typedef struct {
float mass;
float radius;
Vector2 position;
Vector2 speed;
} mass_body_t;
typedef struct universe {
unsigned int num_bodies;
mass_body_t *bodies;
} universe_t;
#endif // OBJECTS_H_