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

Method addActorIfNeeded

deps/physx/physx/source/physx/src/NpScene.cpp:1264–1269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1262 struct Local
1263 {
1264 static void addActorIfNeeded(PxActor* actor, Ps::Array<PxActor*>& actorArray)
1265 {
1266 if(actor->getAggregate())
1267 return; // The actor will be added when the aggregate is added
1268 actorArray.pushBack(actor);
1269 }
1270 };
1271
1272 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