package com.db.chart.view.animation.easing;
public class CubicEase extends BaseEasingMethod {
public CubicEase() {
super();
}
@Override
protected float easeOut(float time) {
return (float) Math.pow(time - 1, 3) + 1;
}
@Override
protected float easeIn(float time) {
return easeOut(1f - time);
}
}