MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / link

Method link

physx/samples/samplebase/PhysXSample.cpp:111–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111void PhysXSample::link(RenderBaseActor* renderActor, PxShape* shape, PxRigidActor* actor)
112{
113 PhysXShape theShape(actor, shape);
114 mPhysXShapeToRenderActorMap[theShape] = renderActor;
115
116 renderActor->setPhysicsShape(shape, actor);
117}
118
119RenderBaseActor* PhysXSample::getRenderActor(PxRigidActor* actor, PxShape* shape)
120{

Callers

nothing calls this directly

Calls 1

setPhysicsShapeMethod · 0.80

Tested by

no test coverage detected