Package arc.math

Class Interp.Elastic

java.lang.Object
arc.math.Interp.Elastic
All Implemented Interfaces:
Interp
Direct Known Subclasses:
Interp.ElasticIn, Interp.ElasticOut
Enclosing interface:
Interp

public static class Interp.Elastic extends Object implements Interp
  • Constructor Details

    • Elastic

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

    • apply

      public float apply(float a)
      Specified by:
      apply in interface Interp
      Parameters:
      a - Alpha value between 0 and 1.