| 117 | } |
| 118 | |
| 119 | RenderBaseActor* PhysXSample::getRenderActor(PxRigidActor* actor, PxShape* shape) |
| 120 | { |
| 121 | PhysXShape theShape(actor, shape); |
| 122 | PhysXShapeToRenderActorMap::iterator it = mPhysXShapeToRenderActorMap.find(theShape); |
| 123 | if (mPhysXShapeToRenderActorMap.end() != it) |
| 124 | return it->second; |
| 125 | return NULL; |
| 126 | } |
| 127 | |
| 128 | SampleDirManager& PhysXSample::getSampleOutputDirManager() |
| 129 | { |