public enum RotationOrder extends java.lang.Enum<RotationOrder>
| Enum Constant and Description |
|---|
XYZ
X then Y then Z (native name: RO_XYZ)
|
XZY
X then Z then Y (native name: RO_XZY)
|
YXZ
Y then X then Z (native name: RO_YXZ)
|
YZX
Y then Z then X (native name: RO_YZX)
|
ZXY
Z then X then Y (native name: RO_ZXY)
|
ZYX
Z then Y then X (native name: RO_ZYX)
|
| Modifier and Type | Method and Description |
|---|---|
Vector3f |
matrixToEuler(Matrix3f rotMatrix,
Vector3f storeResult)
Convert a rotation matrix to Euler angles for this RotationOrder.
|
static RotationOrder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RotationOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RotationOrder XYZ
public static final RotationOrder XZY
public static final RotationOrder YXZ
public static final RotationOrder YZX
public static final RotationOrder ZXY
public static final RotationOrder ZYX
public static RotationOrder[] values()
for (RotationOrder c : RotationOrder.values()) System.out.println(c);
public static RotationOrder valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic Vector3f matrixToEuler(Matrix3f rotMatrix, Vector3f storeResult)
rotMatrix - the matrix to convert (not null, unaffected)storeResult - storage for the result (modified if not null)