public EphemerisItem(Orbiter Orbiter) { this.Name = Orbiter.Name; this.Position = Orbiter.Position / 1000.0; this.Velocity = Orbiter.Velocity / 1000.0; this.Orbiter = Orbiter; }
public void StageBodyForRender(Orbiter Orbiter) { QPoint pf; if (projector.Project2DPoint(Orbiter.PositionSnapshot, false, out pf)) { Orbiter.RenderPoint = pf; Orbiter.DistanceFromCamera = (Orbiter.PositionSnapshot - projector.Position).Magnitude; orbitersToRender.Add(Orbiter); } }
public void Link(Orbiter Orbiter) { this.Orbiter = Orbiter; }