| 1454 | } |
| 1455 | |
| 1456 | void 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 | |
| 1477 | void FinalizeUpdateTask::runInternal() |
| 1478 | { |
no test coverage detected