| 402 | } |
| 403 | |
| 404 | static void visualizePlane(const PxPlaneGeometry& /*geometry*/, RenderOutput& out, const PxTransform& absPose) |
| 405 | { |
| 406 | PxMat44 rotPose(absPose); |
| 407 | Ps::swap(rotPose.column1, rotPose.column2); |
| 408 | rotPose.column1 = -rotPose.column1; |
| 409 | |
| 410 | Ps::swap(rotPose.column0, rotPose.column2); |
| 411 | rotPose.column0 = -rotPose.column0; |
| 412 | |
| 413 | out << rotPose << gCollisionShapeColor; // PT: no need to output this for each segment! |
| 414 | for(PxReal radius = 2.0f; radius < 20.0f ; radius += 2.0f) |
| 415 | out << DebugCircle(100, radius*radius); |
| 416 | } |
| 417 | |
| 418 | static void visualizeCapsule(const PxCapsuleGeometry& geometry, RenderOutput& out, const PxTransform& absPose) |
| 419 | { |
no test coverage detected