diff --git a/skeleton/main b/skeleton/main index c019f70a5cb130e5b443dbb74aad667e78f1bcd8..a2a6f7f4358db831fb257cc8ac3e4480fd75756b 100755 Binary files a/skeleton/main and b/skeleton/main differ diff --git a/skeleton/main.c b/skeleton/main.c index 72c77f339e27d6fe666e03b5c28686a61cb4a6bf..d663b64f405452584ec7671740c0d5460a7ec300 100644 --- a/skeleton/main.c +++ b/skeleton/main.c @@ -28,12 +28,7 @@ int main() planet[3] = create_planet(M_MARS, R_MARS, E_MARS, DGA_MARS, COLOR_RED); planet[4] = create_planet(M_TATOOINE, R_TATOOINE, E_TATOOINE, DGA_TATOOINE,COLOR_WHITE); planet[5] = create_planet(M_MANN,R_MANN,E_MANN,DGA_MANN,COLOR_BLUE); - system_t system = create_system(planet, NB_PLANETS); - for (uint16_t i = 0; i < NB_PLANETS; ++i) { - system.planets[i].prec_pos=system.planets[i].pos; - system.planets[i].pos = postition_next(system.planets[i],DELTA_T,&system); - } while (true) { show_system(ctxt, &system, SCREEN_WIDTH, SCREEN_HEIGHT, RESOLUTION);