|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--shout3d.math.RotUtil
Rotation Utility Methods
Constructor Summary | |
RotUtil()
|
Method Summary | |
static void |
slerp(float[] v0,
float[] v1,
float t,
float[] vResult)
Places result of spherical linear interpolation between v0 and v1 in vResult, where vResult, v0 and v1 are all 3-vectors or all 4-vectors. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public RotUtil()
Method Detail |
public static void slerp(float[] v0, float[] v1, float t, float[] vResult)
v0
- the vector from which interpolation is performedv1
- the vector toward which the interpolation is performedt
- interpolation fraction [0, 1] maps result to [v0, v1].vResult
- the interpolated vector
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |