|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jagatoo.loaders.models.ms3d.utils.RotationUtils
public class RotationUtils
| Constructor Summary | |
|---|---|
RotationUtils()
|
|
| Method Summary | |
|---|---|
static org.openmali.vecmath2.Tuple3f |
toEuler(org.openmali.vecmath2.Quaternion4f quaternion)
Convert a Quaternion to Euler angles (in degrees) Note : the Quaternion can be non-normalized. |
static org.openmali.vecmath2.Quaternion4f |
toQuaternion(float rotX,
float rotY,
float rotZ)
Convert Euler angles (in degrees) to a (normalized) Quaternion. |
static org.openmali.vecmath2.Quaternion4f |
toQuaternion(org.openmali.vecmath2.Tuple3f tuple)
Convert Euler angles (in degrees) to a (normalized) Quaternion. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RotationUtils()
| Method Detail |
|---|
public static org.openmali.vecmath2.Quaternion4f toQuaternion(float rotX,
float rotY,
float rotZ)
rotX - Rotation about the X axis, in degreesrotY - Rotation about the Y axis, in degreesrotZ - Rotation about the Z axis, in degrees
public static org.openmali.vecmath2.Quaternion4f toQuaternion(org.openmali.vecmath2.Tuple3f tuple)
tuple -
public static org.openmali.vecmath2.Tuple3f toEuler(org.openmali.vecmath2.Quaternion4f quaternion)
quaternion - The quaternion
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||