Package arc.math
Class Interp.Bounce
java.lang.Object
arc.math.Interp.BounceOut
arc.math.Interp.Bounce
- All Implemented Interfaces:
Interp
- Enclosing interface:
- Interp
-
Nested Class Summary
Nested classes/interfaces inherited from interface arc.math.Interp
Interp.Bounce, Interp.BounceIn, Interp.BounceOut, Interp.Elastic, Interp.ElasticIn, Interp.ElasticOut, Interp.Exp, Interp.ExpIn, Interp.ExpOut, Interp.Pow, Interp.PowIn, Interp.PowOut, Interp.Swing, Interp.SwingIn, Interp.SwingOut
-
Field Summary
Fields inherited from interface arc.math.Interp
bounce, bounceIn, bounceOut, circle, circleIn, circleOut, elastic, elasticIn, elasticOut, exp10, exp10In, exp10Out, exp5, exp5In, exp5Out, fade, fastSlow, linear, one, pow10In, pow10Out, pow2, pow2In, pow2InInverse, pow2Out, pow2OutInverse, pow3, pow3In, pow3InInverse, pow3Out, pow3OutInverse, pow4, pow4In, pow4Out, pow5, pow5In, pow5Out, reverse, sine, sineIn, sineOut, slope, slowFast, smooth, smooth2, smoother, swing, swingIn, swingOut, zero
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Bounce
public Bounce(float[] widths, float[] heights) -
Bounce
public Bounce(int bounces)
-
-
Method Details
-
apply
public float apply(float a) - Specified by:
apply
in interfaceInterp
- Overrides:
apply
in classInterp.BounceOut
- Parameters:
a
- Alpha value between 0 and 1.
-