| 283 | } |
| 284 | |
| 285 | void NpShapeManager::markAllSceneQueryForUpdate(SceneQueryManager& sqManager, const PxRigidActor& actor) |
| 286 | { |
| 287 | if(isSqCompound()) |
| 288 | { |
| 289 | const PxType actorType = actor.getConcreteType(); |
| 290 | const bool isDynamic = actorType == PxConcreteType::eRIGID_DYNAMIC || actorType == PxConcreteType::eARTICULATION_LINK; |
| 291 | sqManager.updateCompoundActor(mSqCompoundId, actor.getGlobalPose(), isDynamic); |
| 292 | return; |
| 293 | } |
| 294 | |
| 295 | const PxU32 nbShapes = getNbShapes(); |
| 296 | |
| 297 | for(PxU32 i=0;i<nbShapes;i++) |
| 298 | { |
| 299 | const PrunerData data = getPrunerData(i); |
| 300 | if(data!=SQ_INVALID_PRUNER_DATA) |
| 301 | sqManager.markForUpdate(INVALID_PRUNERHANDLE, data); |
| 302 | } |
| 303 | } |
| 304 | |
| 305 | Sq::PrunerData NpShapeManager::findSceneQueryData(const NpShape& shape) const |
| 306 | { |
no test coverage detected