Home
last modified time | relevance | path

Searched refs:timeDecay (Results 1 – 4 of 4) sorted by relevance

/dports/audio/polyphone/polyphone-75a5e88/sources/sound_engine/elements/
H A Denveloppevol.cpp90 quint32 timeDecay = static_cast<quint32>(v_timeDecay * fastPow2(v_noteToDecay * (60 - note))); in applyEnveloppe() local
185 duration = _currentSmpl < timeDecay ? timeDecay - _currentSmpl : 0; in applyEnveloppe()
199 coef = -1.f / timeDecay; in applyEnveloppe()
212 …t<float>(qPow(0.00001585 / (1. - static_cast<double>(levelSustain) + 0.00001585), 1. / timeDecay)); in applyEnveloppe()
/dports/games/openjk/OpenJK-07675e2/codeJK2/cgame/
H A Dcg_effects.cpp766 float timeDecay; in CG_DoGlass() local
786 timeDecay = TIME_DECAY_SLOW; in CG_DoGlass()
798 timeDecay = TIME_DECAY_MED; in CG_DoGlass()
806 timeDecay = ( timeDecay + TIME_DECAY_SLOW ) * 0.5f; in CG_DoGlass()
818 timeDecay = ( timeDecay + TIME_DECAY_MED ) * 0.5f; in CG_DoGlass()
909 float dif = DistanceSquared( subVerts[0], dmgPt ) * timeDecay - Q_flrand(0.0f, 1.0f) * 32; in CG_DoGlass()
/dports/games/openjk/OpenJK-07675e2/code/cgame/
H A Dcg_effects.cpp798 float timeDecay; in CG_DoGlass() local
818 timeDecay = TIME_DECAY_SLOW; in CG_DoGlass()
830 timeDecay = TIME_DECAY_MED; in CG_DoGlass()
838 timeDecay = ( timeDecay + TIME_DECAY_SLOW ) * 0.5f; in CG_DoGlass()
850 timeDecay = ( timeDecay + TIME_DECAY_MED ) * 0.5f; in CG_DoGlass()
941 float dif = DistanceSquared( subVerts[0], dmgPt ) * timeDecay - Q_flrand(0.0f, 1.0f) * 32; in CG_DoGlass()
/dports/games/openjk/OpenJK-07675e2/codemp/cgame/
H A Dcg_effects.c438 float timeDecay; in CG_DoGlass() local
460 timeDecay = TIME_DECAY_SLOW; in CG_DoGlass()
466 timeDecay = TIME_DECAY_FAST; in CG_DoGlass()
472 timeDecay = TIME_DECAY_MED; in CG_DoGlass()
501 timeDecay = ( timeDecay + TIME_DECAY_FAST ) * 0.5f; in CG_DoGlass()
599 dif = DistanceSquared( subVerts[0], dmgPt ) * timeDecay - Q_flrand(0.0f, 1.0f) * 32; in CG_DoGlass()