Package pi.animation.tweening
Interface TweenEquation
public interface TweenEquation
An interface to generally apply a function to a value.
-
Method Summary
Modifier and TypeMethodDescriptionfloatcompute(float progress) Applies the function to the value and returns the result.
-
Method Details
-
compute
float compute(float progress) Applies the function to the value and returns the result.- Parameters:
progress- the current value- Returns:
- a
floatrepresenting the result of applying theTweenEquationto the value.
-