Package ej.motion.quint
Class QuintEaseOutFunction
- java.lang.Object
-
- ej.motion.quint.QuintEaseOutFunction
-
-
Field Summary
Fields Modifier and Type Field Description static QuintEaseOutFunction
INSTANCE
Singleton to avoid creating several instances.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
computeValue(float t)
Returns the value of the function for the given time factor.
-
-
-
Field Detail
-
INSTANCE
public static final QuintEaseOutFunction INSTANCE
Singleton to avoid creating several instances.
-
-
Method Detail
-
computeValue
public float computeValue(float t)
Description copied from interface:Function
Returns the value of the function for the given time factor.- Specified by:
computeValue
in interfaceFunction
- Parameters:
t
- the time factor, between 0 and 1.- Returns:
- the value of the function for the given time, between 0 and 1.
-
-