MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / onActorDetach

Method onActorDetach

deps/physx/physx/source/physx/src/NpShape.cpp:649–656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647}
648
649void NpShape::onActorDetach()
650{
651 PX_ASSERT(getActorCount() > 0);
652 Ps::atomicDecrement(&mExclusiveAndActorCount);
653 if(isExclusiveFast())
654 mActor = NULL;
655 decRefCount();
656}
657
658void NpShape::setName(const char* debugName)
659{

Callers 2

detachShapeMethod · 0.80
detachAllMethod · 0.80

Calls 4

getActorCountFunction · 0.85
isExclusiveFastFunction · 0.85
decRefCountFunction · 0.85
atomicDecrementFunction · 0.50

Tested by

no test coverage detected