示例#1
0
 public PointLight(BaseLight base_, Attenuation attenuation, Vector3 position, float range)
 {
     this.base_       = base_;
     this.attenuation = attenuation;
     this.position    = position;
     this.range       = range;
 }
示例#2
0
 public DirectionalLight(BaseLight base_, Vector3 direction)
 {
     this.base_     = base_;
     this.direction = direction;
 }