| 145 | |
| 146 | #if PX_ENABLE_DEBUG_VISUALIZATION |
| 147 | void NpRigidStatic::visualize(Cm::RenderOutput& out, NpScene* scene) |
| 148 | { |
| 149 | NpRigidStaticT::visualize(out, scene); |
| 150 | |
| 151 | if (getScbRigidStaticFast().getActorFlags() & PxActorFlag::eVISUALIZATION) |
| 152 | { |
| 153 | Scb::Scene& scbScene = scene->getScene(); |
| 154 | PxReal scale = scbScene.getVisualizationParameter(PxVisualizationParameter::eSCALE); |
| 155 | |
| 156 | //visualize actor frames |
| 157 | PxReal actorAxes = scale * scbScene.getVisualizationParameter(PxVisualizationParameter::eACTOR_AXES); |
| 158 | if (actorAxes != 0) |
| 159 | out << getGlobalPose() << Cm::DebugBasis(PxVec3(actorAxes)); |
| 160 | } |
| 161 | } |
| 162 | #endif |
| 163 |
nothing calls this directly
no test coverage detected