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

Method GetLength

ogsr_engine/xrGame/PostprocessAnimator.cpp:127–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127float CPostprocessAnimator::GetLength()
128{
129 float v = 0.0f;
130 for (int a = 0; a < POSTPROCESS_PARAMS_COUNT; a++)
131 {
132 float t = m_Params[a]->get_length();
133 v = _max(t, v);
134 }
135 return v;
136}
137
138void CPostprocessAnimator::Update(float tm)
139{

Callers 5

StartMethod · 0.45
motion_lengthMethod · 0.45
get_lengthMethod · 0.45
get_lengthMethod · 0.45
motion_timeMethod · 0.45

Calls 2

_maxFunction · 0.50
get_lengthMethod · 0.45

Tested by

no test coverage detected