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

Method runInternal

physx/source/lowlevelaabb/src/BpAABBManager.cpp:1456–1475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1454}
1455
1456void AggregateBoundsComputationTask::runInternal()
1457{
1458 const BoundsArray& boundArray = mManager->getBoundsArray();
1459 const float* contactDistances = mManager->getContactDistances();
1460
1461 PxU32 size = mNbToGo;
1462 Aggregate** currentAggregate = mAggregates + mStart;
1463 while(size--)
1464 {
1465 if(size)
1466 {
1467 Aggregate* nextAggregate = *(currentAggregate+1);
1468 Ps::prefetchLine(nextAggregate, 0);
1469 Ps::prefetchLine(nextAggregate, 64);
1470 }
1471
1472 (*currentAggregate)->computeBounds(boundArray.begin(), contactDistances);
1473 currentAggregate++;
1474 }
1475}
1476
1477void FinalizeUpdateTask::runInternal()
1478{

Callers 1

postBpStage2Method · 0.45

Calls 5

finalizeUpdateMethod · 0.80
postBpStage2Method · 0.80
prefetchLineFunction · 0.50
computeBoundsMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected