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