diff --git a/galaxy/Makefile b/perso/Makefile similarity index 100% rename from galaxy/Makefile rename to perso/Makefile diff --git a/galaxy/box.c b/perso/box.c similarity index 100% rename from galaxy/box.c rename to perso/box.c diff --git a/galaxy/box.h b/perso/box.h similarity index 100% rename from galaxy/box.h rename to perso/box.h diff --git a/perso/box.o b/perso/box.o new file mode 100644 index 0000000000000000000000000000000000000000..e6c4b02f142d1ed6c6e7da93d2d97b39f4f40ff4 Binary files /dev/null and b/perso/box.o differ diff --git a/perso/galaxy b/perso/galaxy new file mode 100755 index 0000000000000000000000000000000000000000..28e639b86f069e6be68216aef884df0304c25a08 Binary files /dev/null and b/perso/galaxy differ diff --git a/galaxy/galaxy.c b/perso/galaxy.c similarity index 100% rename from galaxy/galaxy.c rename to perso/galaxy.c diff --git a/galaxy/galaxy.h b/perso/galaxy.h similarity index 100% rename from galaxy/galaxy.h rename to perso/galaxy.h diff --git a/perso/galaxy.o b/perso/galaxy.o new file mode 100644 index 0000000000000000000000000000000000000000..dc8201a55f65e9bc22c0802e3b356f7227fa60e9 Binary files /dev/null and b/perso/galaxy.o differ diff --git a/galaxy/quadtree.c b/perso/quadtree.c similarity index 100% rename from galaxy/quadtree.c rename to perso/quadtree.c diff --git a/galaxy/quadtree.h b/perso/quadtree.h similarity index 69% rename from galaxy/quadtree.h rename to perso/quadtree.h index 6f377ab837a25a0f8e4bf98a75547b7881b5fa04..f2b038e76a0e162d919bb90be92dc144bb3519f7 100644 --- a/galaxy/quadtree.h +++ b/perso/quadtree.h @@ -27,16 +27,16 @@ typedef struct __quadtree { * * * * * * * * * * * * * * * * */ // crée un quadtree -Quadtree* create_quad_tree_from_galaxy(const struct __galaxy* const galaxy); +Quadtree* create_quad_tree_from_galaxy(const Galaxy* const galaxy); // libère la mémoire de quadtree void free_quadtree(Quadtree* tree); // met à jour l'accélération d'une étoile -void update_acceleration_on_star(const struct __node* const node, struct __star* star, double theta); +void update_acceleration_on_star(const Node* const node, Star* star, double theta); // met à jour l'accélération de toutes les étoiles -void update_accelerations_of_all_stars(const struct __node* const node, struct __galaxy* galaxy, double theta); +void update_accelerations_of_all_stars(const Node* const node, Galaxy* galaxy, double theta); #endif \ No newline at end of file diff --git a/perso/quadtree.o b/perso/quadtree.o new file mode 100644 index 0000000000000000000000000000000000000000..5e45a26e4af17d5e7f4ce9cd1746b362fd901e29 Binary files /dev/null and b/perso/quadtree.o differ diff --git a/galaxy/star.c b/perso/star.c similarity index 100% rename from galaxy/star.c rename to perso/star.c diff --git a/galaxy/star.h b/perso/star.h similarity index 100% rename from galaxy/star.h rename to perso/star.h diff --git a/perso/star.o b/perso/star.o new file mode 100644 index 0000000000000000000000000000000000000000..248696a09a8d18bba1b68d6db0adcc66507888ad Binary files /dev/null and b/perso/star.o differ diff --git a/galaxy/vector.c b/perso/vector.c similarity index 100% rename from galaxy/vector.c rename to perso/vector.c diff --git a/galaxy/vector.h b/perso/vector.h similarity index 100% rename from galaxy/vector.h rename to perso/vector.h diff --git a/perso/vector.o b/perso/vector.o new file mode 100644 index 0000000000000000000000000000000000000000..3dd097b88be389e7f46799b163748e50ae291077 Binary files /dev/null and b/perso/vector.o differ