Package jme3utilities.wes
Class VectorCurve
- java.lang.Object
-
- jme3utilities.wes.VectorCurve
-
public class VectorCurve extends java.lang.ObjectEncapsulate a vector curve. This is a performance optimization for interpolating many times on a single spline.
-
-
Constructor Summary
Constructors Constructor Description VectorCurve(float[] times, float cycleTime, com.jme3.math.Vector3f[] values)Instantiate a generic rotation curve.
-
-
-
Constructor Detail
-
VectorCurve
public VectorCurve(float[] times, float cycleTime, com.jme3.math.Vector3f[] values)Instantiate a generic rotation curve.- Parameters:
times- sample times (not null, alias created)cycleTime- end time for looping (≥0)values- function values at sample times (not null, same length as times, alias created)
-
-