public static RealMaxAtmosphereAltitude ( CelestialBody body ) : double | ||
body | CelestialBody | |
return | double |
public static double RealMaxAtmosphereAltitude(CelestialBody body)
{
if (!body.atmosphere) return 0;
// Change for 1.0 refer to atmosphereDepth
return body.atmosphereDepth;
}