|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmali.vecmath2.util.Interpolation
public class Interpolation
Utils for animation interpolation.
| Constructor Summary | |
|---|---|
Interpolation()
|
|
| Method Summary | |
|---|---|
static Quaternion4f |
fastNormalize(Quaternion4f quat)
Fast quaternion normalization - fast method |
static void |
interpolate(Tuple3f tupleOrigin,
Tuple3f tupleDestiny,
float delta,
Tuple3f toInterpolate)
Interpolate between two Tuple3fs in 3D space. |
static void |
nlerp(Quaternion4f quatOrigin,
Quaternion4f quatDestiny,
float delta,
Quaternion4f toInterpolate)
Normalized Linear Interpolation between two Quaternions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Interpolation()
| Method Detail |
|---|
public static final void nlerp(Quaternion4f quatOrigin,
Quaternion4f quatDestiny,
float delta,
Quaternion4f toInterpolate)
quatOrigin - origin quaternionquatDestiny - destiny quaterniondelta - interpolation timetoInterpolate - public static Quaternion4f fastNormalize(Quaternion4f quat)
quat -
public static void interpolate(Tuple3f tupleOrigin,
Tuple3f tupleDestiny,
float delta,
Tuple3f toInterpolate)
toInterpolate - tupleOrigin - The keyframe "before" nowdelta - The time that has passed since the last update.tupleDestiny - The keyframe "after" now
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||