public enum RotationOrder extends java.lang.Enum<RotationOrder>
Enum Constant and Description |
---|
EULER_XYZ |
EULER_XZY |
EULER_YXZ |
EULER_YZX |
EULER_ZXY |
EULER_ZYX |
SPHERIC_XYZ |
Modifier and Type | Field and Description |
---|---|
static RotationOrder[] |
values |
Modifier and Type | Method and Description |
---|---|
Quaternion |
rotate(float x,
float y,
float z) |
Quaternion |
rotate(Vector3f vec) |
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 EULER_XYZ
public static final RotationOrder EULER_XZY
public static final RotationOrder EULER_YZX
public static final RotationOrder EULER_YXZ
public static final RotationOrder EULER_ZXY
public static final RotationOrder EULER_ZYX
public static final RotationOrder SPHERIC_XYZ
public static final RotationOrder[] values
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 Quaternion rotate(Vector3f vec)
public Quaternion rotate(float x, float y, float z)