| 386 | static const PxU32 gCollisionShapeColor = PxU32(PxDebugColor::eARGB_MAGENTA); |
| 387 | |
| 388 | static void visualizeSphere(const PxSphereGeometry& geometry, RenderOutput& out, const PxTransform& absPose) |
| 389 | { |
| 390 | out << gCollisionShapeColor; // PT: no need to output this for each segment! |
| 391 | |
| 392 | out << absPose << DebugCircle(100, geometry.radius); |
| 393 | |
| 394 | PxMat44 rotPose(absPose); |
| 395 | Ps::swap(rotPose.column1, rotPose.column2); |
| 396 | rotPose.column1 = -rotPose.column1; |
| 397 | out << rotPose << DebugCircle(100, geometry.radius); |
| 398 | |
| 399 | Ps::swap(rotPose.column0, rotPose.column2); |
| 400 | rotPose.column0 = -rotPose.column0; |
| 401 | out << rotPose << DebugCircle(100, geometry.radius); |
| 402 | } |
| 403 | |
| 404 | static void visualizePlane(const PxPlaneGeometry& /*geometry*/, RenderOutput& out, const PxTransform& absPose) |
| 405 | { |
no test coverage detected