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

Method createSqBounds

physx/source/simulationcontroller/src/ScBodySim.cpp:930–943  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

928}
929
930void BodySim::createSqBounds()
931{
932 if(!isActive() || usingSqKinematicTarget() || readInternalFlag(BF_IS_COMPOUND_RIGID))
933 return;
934
935 PX_ASSERT(!isFrozen());
936
937 ElementSim* current = getElements_();
938 while(current)
939 {
940 static_cast<ShapeSim*>(current)->createSqBounds();
941 current = current->mNextInActor;
942 }
943}
944
945void BodySim::destroySqBounds()
946{

Callers 3

runInternalMethod · 0.45
setFlagsMethod · 0.45

Calls 2

usingSqKinematicTargetFunction · 0.85
isFrozenFunction · 0.85

Tested by

no test coverage detected