Exemple #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);
		}
Exemple #2
0
 void ShowWindowFalse()
 {
     if (HighLogic.LoadedSceneIsFlight)
     {
         SimulationLogic.inFlightComputeStages();
     }
     else
     {
         if (gui != null)
         {
             gui.ShowWindow = false;
         }
     }
 }
Exemple #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);
            }
        }