shmodot/scripts/orbits/IMassiveExtensions.cs

4 lines
107 B
C#

public static class IMassiveExtensions
{
public static double U(this IMassive m) => Kepler.U(m.Mass);
}