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