Exemple #1
0
 public bool Update(DbvtNode leaf, ref DbvtAabbMm volume, float margin)
 {
     if (leaf.volume.Contain(ref volume))
     {
         return(false);
     }
     volume.Expand(new IndexedVector3(margin));
     Update(leaf, ref volume);
     return(true);
 }
 public bool Update(DbvtNode leaf, ref DbvtAabbMm volume, float margin)
 {
     if (leaf.volume.Contain(ref volume))
     {
         return (false);
     }
     volume.Expand(new IndexedVector3(margin));
     Update(leaf, ref volume);
     return (true);
 }