Class RotationCurve

java.lang.Object
jme3utilities.wes.RotationCurve

public class RotationCurve extends Object
Encapsulate a rotation curve. This is a performance optimization for interpolating many times on a single spline.
  • Constructor Details

    • RotationCurve

      public RotationCurve(float[] times, float cycleTime, com.jme3.math.Quaternion[] quaternions)
      Instantiate a generic rotation curve.
      Parameters:
      times - sample times (not null, alias created)
      cycleTime - end time for looping
      quaternions - function values at sample times (not null, alias created, same length as times)