Class SmoothCubicInterpolator
java.lang.Object
org.vanted.animation.interpolators.Interpolator
org.vanted.animation.interpolators.SmoothCubicInterpolator
public class SmoothCubicInterpolator extends Interpolator
Uses the same mathematical equation as a CubicInterpolator but with different
constants. This provides a smoother interpolation and lessens the
'overshooting' effect that is apparent with the CubicInterpolator.
- Author:
- - Patrick Shaw
-
Constructor Summary
Constructors Constructor Description SmoothCubicInterpolator()
-
Method Summary
Modifier and Type Method Description double
interpolate(double t, double... y)
String
toString()
Methods inherited from class org.vanted.animation.interpolators.Interpolator
interpolate, interpolateColor