/// <summary> /// Updates the wiresphere /// </summary> void OnGUI() { if (!MapView.MapIsEnabled) { return; } // Draw GLTools.DrawOrbit(0, 0, body.sphereOfInfluence, 0, 0, 0, 0, body, body.orbitDriver.Renderer.orbitColor, GLTools.Style.DASHED); GLTools.DrawOrbit(90, 0, body.sphereOfInfluence, 0, 0, 0, 0, body, body.orbitDriver.Renderer.orbitColor, GLTools.Style.DASHED); GLTools.DrawOrbit(90, 0, body.sphereOfInfluence, 90, 0, 0, 0, body, body.orbitDriver.Renderer.orbitColor, GLTools.Style.DASHED); }
void OnPostRender() { GLTools.drawBoundingBox(LevelController.Instance.selectedElementBounds, matLineBounds); }