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

Method SetGlTransformDynamic

ogsr_engine/xrGame/PHShell.cpp:474–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472}
473
474void CPHShell::SetGlTransformDynamic(const Fmatrix& form)
475{
476 VERIFY(isActive());
477 VERIFY(_valid(form));
478 Fmatrix current, replace;
479 GetGlobalTransformDynamic(&current);
480 current.invert();
481 replace.mul(form, current);
482 TransformPosition(replace);
483}
484void CPHShell::SmoothElementsInertia(float k)
485{
486 dMass m_avrg;

Callers 1

NotificatePartMethod · 0.80

Calls 3

_validFunction · 0.50
invertMethod · 0.45
mulMethod · 0.45

Tested by

no test coverage detected