Esempio n. 1
0
 public static IEnumerable <Volume> Broadphase(BaseBVHController <Volume> bvh, FastBounds bb)
 {
     foreach (var v in bvh.Intersect(bb))
     {
         yield return(v);
     }
 }
Esempio n. 2
0
 static Reconner()
 {
     _database = new Dataset <Volume> ();
     _bvh      = new BinnedSAHBVHController <Volume>();
     _bounds   = new List <FastBounds> ();
 }
Esempio n. 3
0
 public static IList <Volume> Broadphase(BaseBVHController <Volume> bvh, FastBounds bb, IList <Volume> result)
 {
     return(bvh.Intersect(bb, result));
 }