Package ej.motion.quint
Class QuintEaseInOutFunction
- java.lang.Object
-
- ej.motion.quint.QuintEaseInOutFunction
-
-
Field Summary
Fields Modifier and Type Field Description static QuintEaseInOutFunction
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 QuintEaseInOutFunction 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.
-
-