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

Method Process

ogsr_engine/xrGame/pp_effector_custom.cpp:21–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#define SET_VALUE(def, target, factor) (def + (target - def) * factor)
20
21BOOL CPPEffectorCustom::Process(SPPInfo& pp)
22{
23 if (!inherited::Process(pp))
24 return FALSE;
25
26 // update factor
27 if (!update())
28 return FALSE;
29
30 pp.lerp(pp_identity, m_state, m_factor);
31
32 return TRUE;
33}
34
35//////////////////////////////////////////////////////////////////////////
36

Callers

nothing calls this directly

Calls 2

updateFunction · 0.85
lerpMethod · 0.45

Tested by

no test coverage detected