InterpolationController - Easing

A forum for discussing development work on the Ardor3D core systems. Basically, anything that is in the ardor3d-core, math or savable modules.
Forum rules
Developer discussions only. Newbie questions belong in the HELP! forum. This is a forum for discussing development work on the Ardor3D core systems. Basically, anything that is in the ardor3d-core, math or savable modules.

InterpolationController - Easing

Postby methius » Wed Sep 15, 2010 7:53 am

Hi,

As I started work on UI animation, I found a lack of easing functions in the InterpolationController.
I found no reference in wiki, examples or Javadoc, except for a MapperFunction3D.Entry.

My proposal would be to add a InterpolationFunction to the InterpolationController class which controls the delta given to the interpolate method.
This could be done by an innerclass InterpolationFunction, which would have the functions:
getDelta(), setDelta(double), incrementDelta(double), decrementDelta(double)

The InterpolationController class would then delegate its methods to this class.
methius
regular
 
Posts: 93
Joined: Mon Jul 06, 2009 4:41 am

Return to Core Development Discussions

Who is online

Users browsing this forum: No registered users and 1 guest

cron