예제 #1
0
 public EphemerisItem(Orbiter Orbiter)
 {
     this.Name     = Orbiter.Name;
     this.Position = Orbiter.Position / 1000.0;
     this.Velocity = Orbiter.Velocity / 1000.0;
     this.Orbiter  = Orbiter;
 }
예제 #2
0
        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);
            }
        }
예제 #3
0
 public void Link(Orbiter Orbiter)
 {
     this.Orbiter = Orbiter;
 }