Exemplo n.º 1
0
 public LightSource(Vector postion, Vector direction, Colors color)
 {
     this.postion   = postion;
     this.direction = direction;
     colorSet       = color;
 }
Exemplo n.º 2
0
 public LightSource() // postioned on origin
 {
     postion  = new Vector(0, 0, 0);
     colorSet = new Colors(255, 255, 255, 1);
 }