Package jme3utilities.wes
Class RotationCurve
- java.lang.Object
-
- jme3utilities.wes.RotationCurve
-
public class RotationCurve extends java.lang.ObjectEncapsulate a rotation curve. This is a performance optimization for interpolating many times on a single spline.
-
-
Constructor Summary
Constructors Constructor Description RotationCurve(float[] times, float cycleTime, com.jme3.math.Quaternion[] quaternions)Instantiate a generic rotation curve.
-
-
-
Constructor Detail
-
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 loopingquaternions- function values at sample times (not null, alias created, same length as times)
-
-