Пример #1
0
 public override bool Intersect(Ray ray, out BlockIntersection intersection)
 {
     // TODO test MG implementation
     if (!Bounds.Intersects(ray).HasValue)
     {
         intersection = default(BlockIntersection);
         return(false);
     }
     throw new NotImplementedException();
 }
Пример #2
0
 public abstract bool Intersect(Ray ray, out BlockIntersection intersection);