Interface FloatSmoother
- All Known Implementing Classes:
WrapperInterpolation
public interface FloatSmoother
Allows using various ways of smoothly interpolating a float value to another float value as a first-class function.
This is a functional interface whose functional method is
apply(float, float, float).-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FloatSmootherA method reference toMathTools.lerpAngleTurns(float, float, float).static final FloatSmootherA method reference toMathTools.lerp(float, float, float). -
Method Summary
-
Field Details
-
LINEAR
A method reference toMathTools.lerp(float, float, float). -
ANGLE
A method reference toMathTools.lerpAngleTurns(float, float, float).
-
-
Method Details
-
apply
float apply(float start, float end, float change)
-