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

Method setEquelInertiaForEls

ogsr_engine/xrGame/PHShell.cpp:514–521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

512}
513
514void CPHShell::setEquelInertiaForEls(const dMass& M)
515{
516 ELEMENT_I i = elements.begin(), e = elements.end();
517 for (; i != e; ++i)
518 {
519 (*i)->setInertia(M);
520 }
521}
522
523void CPHShell::addEquelInertiaToEls(const dMass& M)
524{

Callers 1

create_camera_shellFunction · 0.80

Calls 3

setInertiaMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected