edu.cmu.sun.interpolators
Class SimpleVector3fSmoother
java.lang.Object
edu.cmu.sun.interpolators.SimpleVector3fSmoother
public class SimpleVector3fSmoother
- extends java.lang.Object
A 3d smoother that does linear interpolation between the 3d points.
- Author:
- Braden Kowitz
|
Field Summary |
(package private) javax.vecmath.Vector3f |
currentVal
|
(package private) javax.vecmath.Vector3f |
fromVal
|
(package private) javax.vecmath.Vector3f |
toVal
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fromVal
javax.vecmath.Vector3f fromVal
toVal
javax.vecmath.Vector3f toVal
currentVal
javax.vecmath.Vector3f currentVal
SimpleVector3fSmoother
public SimpleVector3fSmoother()
setTargetValue
public void setTargetValue(javax.vecmath.Vector3f t)
setInternalValue
public void setInternalValue(javax.vecmath.Vector3f v)
getValue
public javax.vecmath.Vector3f getValue(javax.vecmath.Vector3f v,
float n)
getLatestValue
public javax.vecmath.Vector3f getLatestValue(javax.vecmath.Vector3f v)
getFinalValue
public javax.vecmath.Vector3f getFinalValue(javax.vecmath.Vector3f v)