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