Ejemplo n.º 1
0
 public override void Dispose()
 {
     this.IsInitialized = false;
     if (this.Engine != null)
     {
         this.Engine.Dispose();
         this.Engine = null;
     }
 }
Ejemplo n.º 2
0
 public SunScatting(string name, string texture, World world)
     : base(name)
 {
     this.Engine = new ScattingEngine((float)InnerRadius, (float)OutterRadius, texture);
 }