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); }
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); }