Exemplo n.º 1
0
 public static IEnumerable <Volume> Broadphase(BaseBVHController <Volume> bvh, FastBounds bb)
 {
     foreach (var v in bvh.Intersect(bb))
     {
         yield return(v);
     }
 }
Exemplo n.º 2
0
 public static IList <Volume> Broadphase(BaseBVHController <Volume> bvh, FastBounds bb, IList <Volume> result)
 {
     return(bvh.Intersect(bb, result));
 }