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

Method Reinit

ogsr_engine/xrGame/PHDisabling.cpp:56–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void CBaseDisableData::Reinit()
57{
58 m_count = m_frames;
59 if (ph_world)
60 m_count = m_count + ph_world->disable_count;
61 m_stateL1.Reset();
62 m_stateL2.Reset();
63}
64void CBaseDisableData::Disabling()
65{
66 dBodyID body = get_body();

Callers 2

UpdateDynamicDamageMethod · 0.45
CalculateMethod · 0.45

Calls 9

dBodyIsEnabledFunction · 0.85
dBodyGetPositionFunction · 0.85
dBodyGetLinearVelFunction · 0.85
dBodyGetRotationFunction · 0.85
dBodyGetAngularVelFunction · 0.85
UpdatePreviousMethod · 0.80
ResetMethod · 0.45
InitMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected