Пример #1
0
 public static IEnumerable <Volume> Broadphase(BaseBVHController <Volume> bvh, FastBounds bb)
 {
     foreach (var v in bvh.Intersect(bb))
     {
         yield return(v);
     }
 }
Пример #2
0
 public static IList <Volume> Broadphase(BaseBVHController <Volume> bvh, FastBounds bb, IList <Volume> result)
 {
     return(bvh.Intersect(bb, result));
 }