コード例 #1
0
ファイル: BlockGrid.cs プロジェクト: nkast/Bawx
 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);