Package gaiasky.util.math
Class Interpolationd.ElasticOut
java.lang.Object
gaiasky.util.math.Interpolationd
gaiasky.util.math.Interpolationd.Elastic
gaiasky.util.math.Interpolationd.ElasticOut
- Enclosing class:
- Interpolationd
public static class Interpolationd.ElasticOut extends Interpolationd.Elastic
-
Nested Class Summary
Nested classes/interfaces inherited from class gaiasky.util.math.Interpolationd
Interpolationd.Bounce, Interpolationd.BounceIn, Interpolationd.BounceOut, Interpolationd.Elastic, Interpolationd.ElasticIn, Interpolationd.ElasticOut, Interpolationd.Exp, Interpolationd.ExpIn, Interpolationd.ExpOut, Interpolationd.Pow, Interpolationd.PowIn, Interpolationd.PowOut, Interpolationd.Swing, Interpolationd.SwingIn, Interpolationd.SwingOut
-
Field Summary
Fields inherited from class gaiasky.util.math.Interpolationd
bounce, bounceIn, bounceOut, circle, circleIn, circleOut, elastic, elasticIn, elasticOut, exp10, exp10In, exp10Out, exp5, exp5In, exp5Out, fade, fastSlow, linear, pow2, pow2In, pow2InInverse, pow2Out, pow2OutInverse, pow3, pow3In, pow3InInverse, pow3Out, pow3OutInverse, pow4, pow4In, pow4Out, pow5, pow5In, pow5Out, sine, sineIn, sineOut, slowFast, smooth, smooth2, smoother, swing, swingIn, swingOut
-
Constructor Summary
Constructors Constructor Description ElasticOut(double value, double power, int bounces, double scale)
-
Method Summary
Modifier and Type Method Description double
apply(double a)
Methods inherited from class gaiasky.util.math.Interpolationd
apply
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ElasticOut
public ElasticOut(double value, double power, int bounces, double scale)
-
-
Method Details
-
apply
public double apply(double a)- Overrides:
apply
in classInterpolationd.Elastic
- Parameters:
a
- Alpha value between 0 and 1.
-