Skip to content

Commit

Permalink
rendu du projet
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigeth committed Jun 21, 2022
1 parent dfced14 commit 58af446
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions moteur.c
Original file line number Diff line number Diff line change
Expand Up @@ -627,8 +627,7 @@ void UpdateObjet(Astre *Planete, Astre *Gravitation) {
// 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);
/*
Planete->x = Planete->distanceCentreGravitation * cos(alpha) + Gravitation->x;
Planete->y = Planete->distanceCentreGravitation * sin(alpha) + Gravitation->y;
Expand Down

0 comments on commit 58af446

Please sign in to comment.