public enum AxisTransformation extends Enum<AxisTransformation>
Modifier and Type | Field and Description |
---|---|
private static AxisTransformation[][] |
COMBINATIONS |
private int[] |
mappings |
private Matrix3f |
matrix |
Modifier and Type | Method and Description |
---|---|
Matrix3f |
getMatrix() |
int |
map(int oldAxis) |
AxisTransformation |
prepend(AxisTransformation transformation) |
static AxisTransformation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AxisTransformation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AxisTransformation P123
public static final AxisTransformation P213
public static final AxisTransformation P132
public static final AxisTransformation P231
public static final AxisTransformation P312
public static final AxisTransformation P321
private static final AxisTransformation[][] COMBINATIONS
private final int[] mappings
private final Matrix3f matrix
public static AxisTransformation[] values()
for (AxisTransformation c : AxisTransformation.values()) System.out.println(c);
public static AxisTransformation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic AxisTransformation prepend(AxisTransformation transformation)
public int map(int oldAxis)
public Matrix3f getMatrix()