| 284 | } |
| 285 | |
| 286 | void SceneQueryManager::markForUpdate(PrunerCompoundId compoundId, PrunerData data) |
| 287 | { |
| 288 | mPrunerNeedsUpdating = true; |
| 289 | const PxU32 index = getPrunerIndex(data); |
| 290 | const PrunerHandle handle = getPrunerHandle(data); |
| 291 | |
| 292 | if(compoundId == INVALID_PRUNERHANDLE) |
| 293 | mPrunerExt[index].addToDirtyList(handle); |
| 294 | else |
| 295 | { |
| 296 | // A.B. As there can be static actors in the compounds and they could have moved, |
| 297 | // then for exmplae CCT does need to know that something might have changed (timeStamp check), so therefore the invalidateTimestamp() here |
| 298 | mPrunerExt[index].invalidateTimestamp(); |
| 299 | mCompoundPrunerExt.addToDirtyList(compoundId, handle); |
| 300 | } |
| 301 | } |
| 302 | |
| 303 | void SceneQueryManager::preallocate(PxU32 staticShapes, PxU32 dynamicShapes) |
| 304 | { |
no test coverage detected