| 424 | } |
| 425 | |
| 426 | static void visualizePlane(const PxPlaneGeometry& /*geometry*/, RenderOutput& out, const PxTransform& absPose) |
| 427 | { |
| 428 | PxMat44 rotPose(absPose); |
| 429 | Ps::swap(rotPose.column1, rotPose.column2); |
| 430 | rotPose.column1 = -rotPose.column1; |
| 431 | |
| 432 | Ps::swap(rotPose.column0, rotPose.column2); |
| 433 | rotPose.column0 = -rotPose.column0; |
| 434 | |
| 435 | out << rotPose << gCollisionShapeColor; // PT: no need to output this for each segment! |
| 436 | for(PxReal radius = 2.0f; radius < 20.0f ; radius += 2.0f) |
| 437 | out << DebugCircle(100, radius*radius); |
| 438 | } |
| 439 | |
| 440 | static void visualizeCapsule(const PxCapsuleGeometry& geometry, RenderOutput& out, const PxTransform& absPose) |
| 441 | { |
no test coverage detected