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

Method PassEndJoints

ogsr_engine/xrGame/PHShell.cpp:1221–1231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1219}
1220
1221void CPHShell::PassEndJoints(u16 from, u16 to, CPHShell* dest)
1222{
1223 JOINT_I i_from = joints.begin() + from, e = joints.begin() + to;
1224 JOINT_I i = i_from;
1225 for (; i != e; ++i)
1226 {
1227 (*i)->SetShell(dest);
1228 }
1229 dest->joints.insert(dest->joints.end(), i_from, e);
1230 joints.erase(i_from, e);
1231}
1232
1233void CPHShell::DeleteElement(u16 element)
1234{

Callers 2

SplitJointMethod · 0.80
ElementSingleSplitMethod · 0.80

Calls 5

beginMethod · 0.45
SetShellMethod · 0.45
insertMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected