LTDescr.easeInOutBack C# (CSharp) Method

easeInOutBack() private method

private easeInOutBack ( ) : Vector3
return Vector3
    private Vector3 easeInOutBack()
    {
        float s = 1.70158f * this.overshoot;
        val = this.ratioPassed * 2f;
        if ((val) < 1){
            s *= (1.525f) * overshoot;
            return this.diffDiv2 * (val * val * (((s) + 1) * val - s)) + this.from;
        }
        val -= 2;
        s *= (1.525f) * overshoot;
        val = ((val) * val * (((s) + 1) * val + s) + 2);
        return this.diffDiv2 * val + this.from;
    }
LTDescr