Class Interpolationd.Pow

java.lang.Object
gaiasky.util.math.Interpolationd
gaiasky.util.math.Interpolationd.Pow
Direct Known Subclasses:
Interpolationd.PowIn, Interpolationd.PowOut
Enclosing class:
Interpolationd

public static class Interpolationd.Pow extends Interpolationd
  • Constructor Details

    • Pow

      public Pow(int power)
  • Method Details

    • apply

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