Class Interpolationd.Elastic

java.lang.Object
gaiasky.util.math.Interpolationd
gaiasky.util.math.Interpolationd.Elastic
Direct Known Subclasses:
Interpolationd.ElasticIn, Interpolationd.ElasticOut
Enclosing class:
Interpolationd

public static class Interpolationd.Elastic extends Interpolationd
  • Constructor Details

    • Elastic

      public Elastic(double value, double power, int bounces, double scale)
  • Method Details

    • apply

      public double apply(double a)
      Specified by:
      apply in class Interpolationd
      Parameters:
      a - Alpha value between 0 and 1.