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

Method addActorIfNeeded

physx/source/physx/src/NpScene.cpp:1232–1237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1230 struct Local
1231 {
1232 static void addActorIfNeeded(PxActor* actor, Ps::Array<PxActor*>& actorArray)
1233 {
1234 if(actor->getAggregate())
1235 return; // The actor will be added when the aggregate is added
1236 actorArray.pushBack(actor);
1237 }
1238 };
1239
1240 for(PxU32 i=0;i<nb;i++)

Callers

nothing calls this directly

Calls 2

getAggregateMethod · 0.45
pushBackMethod · 0.45

Tested by

no test coverage detected