Example #1
0
        public static float HyperbolicAnomalyAtEpoch(float trueAnomaly, float eccentricity)
        {
            float sqrt = Mathf.Sqrt((eccentricity - 1f) / (eccentricity + 1f));

            return(2f * MathUtilities.ArcTanh(sqrt * Mathf.Tan(trueAnomaly / 2f)));
        }