Пример #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);
 }
Пример #2
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);
 }