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