Exemplo n.º 1
0
        public virtual ProjectileMotionPoint GetFarthestPoint()
        {
            ProjectileMotionPoint final   = GetFinalPoint();
            ProjectileMotionPoint initial = GetInitialPoint();
            ProjectileMotionPoint above   = GetPoint(new ProjectileMotionPointsComputation(Settings).GetTimeFarthestAbove());

            if (final.GetDistanceFromPoint(initial) > above.GetDistanceFromPoint(initial))
            {
                return(final);
            }

            return(above);
        }