コード例 #1
0
ファイル: Dbvt.cs プロジェクト: ryancheung/Monogame-tools
 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);
 }