public class

SinusoidalInOut

extends Object
implements TweenEquation
java.lang.Object
   ↳ casmi.tween.equations.SinusoidalInOut

Summary

Public Constructors
SinusoidalInOut()
Public Methods
final double compute(double t, double b, double c, double d)
Computes the next value of the interpolation.
[Expand]
Inherited Methods
From class java.lang.Object
From interface casmi.tween.TweenEquation

Public Constructors

public SinusoidalInOut ()

Public Methods

public final double compute (double t, double b, double c, double d)

Computes the next value of the interpolation.

Parameters
t Current time, in seconds.
b Initial value.
c Offset to the initial value.
d Total duration, in seconds.
Returns
  • float