MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / set_PhysicsRefObject

Method set_PhysicsRefObject

ogsr_engine/xrGame/PHShell.cpp:378–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378void CPHShell::set_PhysicsRefObject(CPhysicsShellHolder* ref_object)
379{
380 if (elements.empty())
381 return;
382 if ((*elements.begin())->PhysicsRefObject() == ref_object)
383 return;
384 ELEMENT_I i;
385 for (i = elements.begin(); elements.end() != i; ++i)
386 {
387 (*i)->set_PhysicsRefObject(ref_object);
388 }
389}
390
391void CPHShell::set_ContactCallback(ContactCallbackFun* callback)
392{

Callers 13

UnsplitSingleMethod · 0.45
CreateBodyMethod · 0.45
activate_physic_shellMethod · 0.45
CreateSkeletonMethod · 0.45
CreateBrokenMethod · 0.45
P_build_ShellFunction · 0.45
P_build_SimpleShellFunction · 0.45
CreatePhysicsShellMethod · 0.45
P_BuildStaticGeomShellFunction · 0.45
SplitJointMethod · 0.45
ElementSingleSplitMethod · 0.45
setup_physic_shellMethod · 0.45

Calls 4

emptyMethod · 0.45
PhysicsRefObjectMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected