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

Method releaseArticulationJointToPool

physx/source/physx/src/NpFactory.cpp:341–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341void NpFactory::releaseArticulationJointToPool(NpArticulationJoint& articulationJoint)
342{
343 PX_ASSERT(articulationJoint.getBaseFlags() & PxBaseFlag::eOWNS_MEMORY);
344 Ps::Mutex::ScopedLock lock(mArticulationJointPoolLock);
345 mArticulationJointPool.destroy(&articulationJoint);
346}
347
348NpArticulationJointReducedCoordinate* NpFactory::createNpArticulationJointRC(NpArticulationLink& parent, const PxTransform& parentFrame, NpArticulationLink& child, const PxTransform& childFrame)
349{

Callers 2

Calls 2

getBaseFlagsMethod · 0.80
destroyMethod · 0.45

Tested by

no test coverage detected