Skip to content

Commit 58af446

Browse files
committed
rendu du projet
1 parent dfced14 commit 58af446

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

moteur.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -627,8 +627,7 @@ void UpdateObjet(Astre *Planete, Astre *Gravitation) {
627627
628628
629629
// Planete->distanceCentreGravitation=sqrt((Planete->distanceCentreGravitation*sqrt(pow(Planete->distanceCentreGravitation,2)+pow(deltaM,2)))+sqrt(Planete->distanceCentreGravitation*sqrt(pow(Planete->distanceCentreGravitation,2)-pow(deltaM,2)))/2);
630-
631-
/*
630+
632631
Planete->x = Planete->distanceCentreGravitation * cos(alpha) + Gravitation->x;
633632
Planete->y = Planete->distanceCentreGravitation * sin(alpha) + Gravitation->y;
634633

0 commit comments

Comments
 (0)