Class InterpolationDouble.BounceOut

java.lang.Object
gaiasky.util.math.InterpolationDouble
gaiasky.util.math.InterpolationDouble.BounceOut
Direct Known Subclasses:
InterpolationDouble.Bounce, InterpolationDouble.BounceIn
Enclosing class:
InterpolationDouble

public static class InterpolationDouble.BounceOut extends InterpolationDouble
  • Constructor Details

    • BounceOut

      public BounceOut(double[] widths, double[] heights)
    • BounceOut

      public BounceOut(int bounces)
  • Method Details

    • apply

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