Esempio n. 1
0
 public ConicBody(string name, float mass, float radius, TimeSpan rotationPeriod, double semiMajorAxis, double eccentricity, double argumentOfPeriapsis, double meanAnomaly, Body parent)
     : base(name, mass, radius, rotationPeriod, parent, new Vector2(), new Vector2())
 {
     _conic = new Conic(semiMajorAxis, eccentricity, argumentOfPeriapsis, 0, 0, meanAnomaly, parent);
 }
Esempio n. 2
0
 public ConicBody(string name, float mass, float radius, TimeSpan rotationPeriod, Body parent, Conic conic)
     : base(name, mass, radius, rotationPeriod, parent, new Vector2(), new Vector2())
 {
     _conic = conic;
 }