예제 #1
0
        public SolarSystemRenderer(LunarCalc lunarCalc, SolarCalc solarCalc, PlanetsCalc planetsCalc, SolarTextureDownloader solarTextureDownloader, ISettings settings)
        {
            this.planetsCalc = planetsCalc;
            this.sun         = solarCalc.Sun;
            this.moon        = lunarCalc.Moon;

            this.solarTextureDownloader = solarTextureDownloader;
            this.settings = settings;
            penShadowOutline.DashStyle = DashStyle.Dot;
        }
예제 #2
0
 public LunarEventsProvider(LunarCalc lunarCalc, PlanetsCalc planetsCalc)
 {
     this.lunarCalc   = lunarCalc;
     this.planetsCalc = planetsCalc;
 }
예제 #3
0
 public DaylightCalc(SolarCalc solarCalc, LunarCalc lunarCalc)
 {
     this.solarCalc = solarCalc;
     this.lunarCalc = lunarCalc;
 }