public interface FloatInterpolator
Floats during auto-boxing.| Modifier and Type | Method and Description |
|---|---|
float |
interpolate(float initialValue,
float currentValue,
float alpha)
The interpolation algorithm.
|
float interpolate(float initialValue,
float currentValue,
float alpha)
initialValue - the initial valuecurrentValue - the current valuealpha - a value between 0.0f to 1.0f. When alpha is 0.0f, the value should always be the initial value. When alpha is at 1.0f, the value should always be the current value.