Skip to content

Commit

Permalink
Add constants (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvain-guillet authored Nov 25, 2024
1 parent 36ed6b8 commit 359c9ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions IO.Astrodynamics.Net/IO.Astrodynamics/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ public static class Constants
/// </summary>
public const double G = 6.67430e-11;

public const double AU = 149597870700.0;
public const double Deg2Rad = System.Math.PI / 180.0;
public const double Rad2Deg = 180.0 / System.Math.PI;
public const double _2PI = 2.0 * System.Math.PI;
Expand Down

0 comments on commit 359c9ba

Please sign in to comment.