2 // control/fx/interpol.qc
4 float( float pStart, float pEnd, float pDeltaTime, float pT, float pValue ) FX_LinearInterpolation =
6 return pValue + ((pEnd - pStart) * Timer_Delta / pDeltaTime);
9 float( float pStart, float pEnd, float pDeltaTime, float pT, float pValue ) FX_SquareInterpolation =
11 return pEnd - (pEnd - pStart) * (pDeltaTime - pT) * (pDeltaTime - pT) / pDeltaTime / pDeltaTime;