| 546 | } |
| 547 | |
| 548 | static PX_FORCE_INLINE void outputTriangle(PxDebugLine* segments, const PxVec3& v0, const PxVec3& v1, const PxVec3& v2, PxU32 color) |
| 549 | { |
| 550 | // PT: TODO: use SIMD |
| 551 | segments[0] = PxDebugLine(v0, v1, color); |
| 552 | segments[1] = PxDebugLine(v1, v2, color); |
| 553 | segments[2] = PxDebugLine(v2, v0, color); |
| 554 | } |
| 555 | |
| 556 | static void visualizeTriangleMesh(const PxTriangleMeshGeometry& geometry, RenderOutput& out, const PxTransform& pose, const PxBounds3& cullbox, const PxReal fscale, bool visualizeShapes, bool visualizeEdges, bool useCullBox) |
| 557 | { |
no test coverage detected