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); }
public abstract bool Intersect(Ray ray, out BlockIntersection intersection);