Package gaiasky.util.math
Class InterpolationDouble.SwingOut
java.lang.Object
gaiasky.util.math.InterpolationDouble
gaiasky.util.math.InterpolationDouble.SwingOut
- Enclosing class:
- InterpolationDouble
-
Nested Class Summary
Nested classes/interfaces inherited from class gaiasky.util.math.InterpolationDouble
InterpolationDouble.Bounce, InterpolationDouble.BounceIn, InterpolationDouble.BounceOut, InterpolationDouble.Elastic, InterpolationDouble.ElasticIn, InterpolationDouble.ElasticOut, InterpolationDouble.Exp, InterpolationDouble.ExpIn, InterpolationDouble.ExpOut, InterpolationDouble.Pow, InterpolationDouble.PowIn, InterpolationDouble.PowOut, InterpolationDouble.Swing, InterpolationDouble.SwingIn, InterpolationDouble.SwingOut
-
Field Summary
Fields inherited from class gaiasky.util.math.InterpolationDouble
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
-
Method Summary
Methods inherited from class gaiasky.util.math.InterpolationDouble
apply
-
Constructor Details
-
SwingOut
public SwingOut(double scale)
-
-
Method Details
-
apply
public double apply(double a) - Specified by:
apply
in classInterpolationDouble
- Parameters:
a
- Alpha value between 0 and 1.
-