36 template<
double (*Function)(
double)>
48 template<
double (*Function)(
double)>
51 return 1 - ease_in( 1 - t );
60 template<
double (*Function)(
double)>
64 return ease_in( 2 * t ) / 2;
66 return 0.5 + ease_out( 2 * t - 1 ) / 2;
static double ease_out(double t)
Apply the easing at the end of the tweener.
static double ease_in(double t)
Apply the easing at the beginning of the tweener.
static double ease_in_out(double t)
Apply the easing at the beginning and the end of the tweener.