Searched refs:timeDecay (Results 1 – 4 of 4) sorted by relevance
90 quint32 timeDecay = static_cast<quint32>(v_timeDecay * fastPow2(v_noteToDecay * (60 - note))); in applyEnveloppe() local185 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()
766 float timeDecay; in CG_DoGlass() local786 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()
798 float timeDecay; in CG_DoGlass() local818 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()
438 float timeDecay; in CG_DoGlass() local460 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()