Package jme3utilities.wes
Class VectorCurve
java.lang.Object
jme3utilities.wes.VectorCurve
Encapsulate a vector curve. This is a performance optimization for
interpolating many times on a single spline.
-
Constructor Summary
ConstructorsConstructorDescriptionVectorCurve(float[] times, float cycleTime, com.jme3.math.Vector3f[] values) Instantiate a generic rotation curve. -
Method Summary
-
Constructor Details
-
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)
-