Trajectories.VesselAerodynamicModel.InitCache C# (CSharp) Method

InitCache() private method

private InitCache ( ) : void
return void
        private void InitCache()
        {
            Debug.Log("Trajectories: Initializing cache");

            double maxCacheVelocity = 10000.0;
            double maxCacheAoA = 180.0 / 180.0 * Math.PI;

            int velocityResolution = 32;
            int angleOfAttackResolution = 33; // even number to include exactly 0°
            int altitudeResolution = 32;

            cachedForces = new AeroForceCache(maxCacheVelocity, maxCacheAoA, body_.atmosphereDepth, velocityResolution, angleOfAttackResolution, altitudeResolution, this);

            isValid = true;

            return;
        }