public RayCollision(bool isCollision, Vector3 position, ILightableObject obj)
 {
     this.position = position;
     this.isCollision = isCollision;
     this.obj = obj;
 }
Exemple #2
0
 public void RemoveObject(ILightableObject o)
 {
     objects.Remove(o);
 }
 public void AddObject(ILightableObject obj)
 {
     scene.AddObject(obj);
 }
Exemple #4
0
 public void AddObject(ILightableObject o)
 {
     objects.Add(o);
 }