etc/octaspire_easing_amalgamated.c
double octaspire_easing_in_out_quad(double t, double const b, double const c, double const d)
{
    t /= (d * 0.5);

    if (t < 1)
    {
        return (c / 2) * pow(t,2) + b;
    }

    return -c / 2 * ((t-1) * (t-3) - 1) + b;
}
// quadratic easing in/out - acceleration until halfway, then deceleration
quadratic easing in/out - acceleration until halfway, then deceleration
quadratic easing in / out - acceleration until halfway then deceleration
double octaspire_easing_in_out_quad(double t, double const b, double const c, double const d)
{
    t /= (d * 0.5);
    if (t < 1)
    {
        return (c / 2) * pow(t,2) + b;
    }
    return -c / 2 * ((t-1) * (t-3) - 1) + b;
}
double octaspire_easing_in_out_quad ( double t , double const b , double const c , double const d ) { t /= ( d * 0.5 ) ; if ( t < 1 ) { return ( c / 2 ) * pow ( t , 2 ) + b ; } return - c / 2 * ( ( t - 1 ) * ( t - 3 ) - 1 ) + b ; }
quadratic easing in/out - acceleration until halfway, then deceleration
quadratic easing in / out - acceleration until halfway then deceleration