コード例 #1
0
ファイル: Dbvt.cs プロジェクト: superowner/bullet-xna
 public bool Update(DbvtNode leaf, ref DbvtAabbMm volume, ref IndexedVector3 velocity)
 {
     if (leaf.volume.Contain(ref volume))
     {
         return(false);
     }
     volume.SignedExpand(velocity);
     Update(leaf, ref volume);
     return(true);
 }
コード例 #2
0
 public bool Update(DbvtNode leaf, ref DbvtAabbMm volume, ref IndexedVector3 velocity)
 {
     if (leaf.volume.Contain(ref volume))
     {
         return (false);
     }
     volume.SignedExpand(velocity);
     Update(leaf, ref volume);
     return (true);
 }