fixed waiting till heat death problem

This commit is contained in:
Pierre committed 2026-09-30 21:46:28 +02:00
1 parent f7e2d85e37
commit b3dcc9aa66
2 files changed
+2 -2

No files matched your search

-1
View File
@@ -82,7 +82,6 @@ void mechanics(universe_t* uni){
body_1 = uni->bodies[i];
scaled_speed = vec2_scale(&body_1.speed, 1.0 / simx);
body_1.position = vec2_sum(&body_1.position, &scaled_speed);
printf("aaa");
if (i < uni->num_bodies - 1) {
for (unsigned int y = i + 1; y < uni->num_bodies; y++) {
body_2 = uni->bodies[y];