Class StepCurve


  • public class StepCurve
    extends Easing
    This class translates a series of floating point values into a continuous curve for use in an easing function including quantize functions it is used with the "spline(0,0.3,0.3,0.5,...0.9,1)" it should start at 0 and end at one 1
    • Field Summary

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double get​(double x)  
      double getDiff​(double x)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getDiff

        public double getDiff​(double x)
        Overrides:
        getDiff in class Easing
      • get

        public double get​(double x)
        Overrides:
        get in class Easing