org.xith3d.utility.math
Interface Interpolator

All Known Implementing Classes:
LinearFloatInterpolator

public interface Interpolator

An interpolator modify a variable to make it progress from a first value to a second value. "Progress" is controled by a parameter named "alpha". When alpha=0, the variable is equal to the first value, when alpha=.5, the variable is between the two values and when alpha=1, the variable is equal to the second value.


Method Summary
 void setAlpha(float alpha)
          Set the alpha of this interpolator.
 

Method Detail

setAlpha

void setAlpha(float alpha)
Set the alpha of this interpolator. It will have consequences on the variable which is modified by the Interpolator.

Parameters:
alpha -