MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / getRenderActor

Method getRenderActor

deps/physx/physx/samples/samplebase/PhysXSample.cpp:119–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119RenderBaseActor* 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
128SampleDirManager& PhysXSample::getSampleOutputDirManager()
129{

Callers

nothing calls this directly

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected