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

    Fields
    Modifier and Type
    Field
    Description
    static final FloatSmoother
    A method reference to MathTools.lerpAngleTurns(float, float, float).
    static final FloatSmoother
    A method reference to MathTools.lerp(float, float, float).
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    apply(float start, float end, float change)
     
  • Field Details

    • LINEAR

      static final FloatSmoother LINEAR
      A method reference to MathTools.lerp(float, float, float).
    • ANGLE

      static final FloatSmoother ANGLE
      A method reference to MathTools.lerpAngleTurns(float, float, float).
  • Method Details

    • apply

      float apply(float start, float end, float change)