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

Method addPrunerShape

physx/source/physx/src/NpShapeManager.cpp:359–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357}
358
359void NpShapeManager::addPrunerShape(SceneQueryManager& sqManager, PxU32 index, const NpShape& shape, const PxRigidActor& actor, bool dynamic, const PxBounds3* bound, bool hasPrunerStructure)
360{
361 const Scb::Shape& scbShape = shape.getScbShape();
362 const Scb::Actor& scbActor = NpActor::getScbFromPxActor(actor);
363 setPrunerData(index, sqManager.addPrunerShape(scbShape, scbActor, dynamic, mSqCompoundId, bound, hasPrunerStructure));
364}
365
366void NpShapeManager::setupSceneQuery(SceneQueryManager& sqManager, const PxRigidActor& actor, PxU32 index)
367{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected