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

Method setupSceneQuery

physx/source/physx/src/NpShapeManager.cpp:217–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217void NpShapeManager::setupSceneQuery(SceneQueryManager& sqManager, const PxRigidActor& actor, const NpShape& shape)
218{
219 PX_ASSERT(shape.getFlags() & PxShapeFlag::eSCENE_QUERY_SHAPE);
220 const PxU32 index = mShapes.find(&shape);
221 PX_ASSERT(index!=0xffffffff);
222 setupSceneQuery(sqManager, actor, index);
223}
224
225void NpShapeManager::teardownSceneQuery(SceneQueryManager& sqManager, const NpShape& shape)
226{

Callers 1

setFlagsInternalMethod · 0.80

Calls 3

getFlagsMethod · 0.45
findMethod · 0.45
getConcreteTypeMethod · 0.45

Tested by

no test coverage detected