sub_arctic.anim
Interface pacer
- All Known Implementing Classes:
- slow_in_slow_out, linear_pacer
- public abstract interface pacer
This is an interface for implementing pacing functions.
Your function should map a point in a time interval (0.0 to 1.0)
to another point in that interval.
Method Summary |
double |
pace(double f)
This is the function which does the work of the mapping. |
pace
public double pace(double f)
- This is the function which does the work of the mapping.
- Parameters:
double
- f the input time value (0.0 to 1.0)- Returns:
- double the transformed time value