Esempio n. 1
0
		public void ComputeStages()
		{
			SimulationLogic ship = new SimulationLogic(
				EditorLogic.fetch.ship.parts,
				planetObjects[planetId],
				68,
				maxAcceleration,
				advancedSimulation,
				Vector3d.up);
			ship.computeStages();
			if (advancedSimulation)
				plot = new AscentPlot(ship.samples, ship.stages, 400, 400);
		}
Esempio n. 2
0
 void ShowWindowFalse()
 {
     if (HighLogic.LoadedSceneIsFlight)
     {
         SimulationLogic.inFlightComputeStages();
     }
     else
     {
         if (gui != null)
         {
             gui.ShowWindow = false;
         }
     }
 }
Esempio n. 3
0
        public void ComputeStages()
        {
            SimulationLogic ship = new SimulationLogic(
                EditorLogic.fetch.ship.parts,
                planetObjects[planetId],
                68,
                maxAcceleration,
                advancedSimulation,
                Vector3d.up);

            ship.computeStages();
            if (advancedSimulation)
            {
                plot = new AscentPlot(ship.samples, ship.stages, 400, 400);
            }
        }