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

Method DeleteJoint

ogsr_engine/xrGame/PHShell.cpp:1239–1244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1237 elements.erase(elements.begin() + element);
1238}
1239void CPHShell::DeleteJoint(u16 joint)
1240{
1241 joints[joint]->Deactivate();
1242 xr_delete(joints[joint]);
1243 joints.erase(joints.begin() + joint);
1244}
1245
1246void CPHShell::setEndElementSplitter()
1247{

Callers 2

CPhysicsShellAnimatorMethod · 0.80
SplitJointMethod · 0.80

Calls 4

xr_deleteFunction · 0.85
DeactivateMethod · 0.45
eraseMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected