Пример #1
0
 public override bool Intersect(Ray ray, out BlockIntersection intersection)
 {
     if (!m_BoundingBox.Intersects(ray).HasValue)
     {
         intersection = default(BlockIntersection);
         return(false);
     }
     intersection = default(BlockIntersection);
     return(true);
 }
Пример #2
0
 public abstract bool Intersect(Ray ray, out BlockIntersection intersection);