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

Method getNext

physx/source/simulationcontroller/src/ScElementSim.cpp:56–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56Sc::ElementSimInteraction* Sc::ElementSim::ElementInteractionIterator::getNext()
57{
58 while(mInteractions!=mInteractionsLast)
59 {
60 Interaction* it = *mInteractions++;
61 if(interactionHasElement(it, mElement))
62 return static_cast<ElementSimInteraction*>(it);
63 }
64 return NULL;
65}
66
67Sc::ElementSimInteraction* Sc::ElementSim::ElementInteractionReverseIterator::getNext()
68{

Calls 1

interactionHasElementFunction · 0.85

Tested by

no test coverage detected