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

Method findSceneQueryData

physx/source/physx/src/NpShapeManager.cpp:305–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303}
304
305Sq::PrunerData NpShapeManager::findSceneQueryData(const NpShape& shape) const
306{
307 const PxU32 index = mShapes.find(&shape);
308 PX_ASSERT(index!=0xffffffff);
309 PX_ASSERT(!isSqCompound()); // used in cases we know it is not a compound
310
311 return getPrunerData(index);
312}
313
314
315Sq::PrunerData NpShapeManager::findSceneQueryData(const NpShape& shape, Sq::PrunerCompoundId& compoundId) const

Callers 3

multiQueryMethod · 0.80
updateSQMethod · 0.80
findMethod · 0.80

Calls 2

isSqCompoundFunction · 0.85
findMethod · 0.45

Tested by

no test coverage detected