| 442 | } |
| 443 | |
| 444 | static PX_FORCE_INLINE bool testBoxBoxAxis(PxVec3& mtd, PxF32& depth, const PxVec3& axis, const Box& box0, const Box& box1) |
| 445 | { |
| 446 | PxF32 d; |
| 447 | if(!PxcTestAxis(axis, box0, box1, d)) |
| 448 | return false; |
| 449 | if(d<depth) |
| 450 | { |
| 451 | depth = d; |
| 452 | mtd = axis; |
| 453 | } |
| 454 | return true; |
| 455 | } |
| 456 | |
| 457 | static bool computeMTD_BoxBox(PxVec3& _mtd, PxF32& _depth, const Box& box0, const Box& box1) |
| 458 | { |
no test coverage detected