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