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

Method update

physx/source/lowlevelaabb/src/BpAABBManager.cpp:773–785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

771}
772
773bool PersistentActorAggregatePair::update(AABBManager& manager, BpCacheData* data)
774{
775 if(mShouldBeDeleted || shouldPairBeDeleted(manager.mGroups, mAggregateHandle, mActorHandle))
776 return true;
777
778 if(!mAggregate->getNbAggregated()) // PT: needed with lazy empty actors
779 return true;
780
781 if(mAggregate->isDirty() || manager.mChangedHandleMap.boundedTest(mActorHandle))
782 manager.updatePairs(*this, data);
783
784 return false;
785}
786
787/////
788

Callers 5

runInternalMethod · 0.45
finalizeUpdateMethod · 0.45
processAggregatePairsFunction · 0.45
runInternalMethod · 0.45

Calls 4

shouldPairBeDeletedFunction · 0.85
getNbAggregatedMethod · 0.80
updatePairsMethod · 0.80
isDirtyMethod · 0.45

Tested by

no test coverage detected