Exemple #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); 
Exemple #2
0
 public World(PointLight pl)
 {
     this.lightSources = new List<PointLight>();
     this.addPointLight(pl);
 }