Example #1
0
 /// <summary>
 /// Add a <see cref="PointLight"/> to the list of light sources present in the world.
 /// </summary>
 /// <param name="pl"></param>
 public void addPointLight(PointLight pl) 
   => lightSources.Add(pl); 
Example #2
0
 public World(PointLight pl)
 {
     this.lightSources = new List<PointLight>();
     this.addPointLight(pl);
 }