public enum Trigonometry extends java.lang.Enum<Trigonometry> implements TrigonometryBase
| Enum Constant and Description |
|---|
JAVA |
LIB_GDX |
MINECRAFT |
OPTIFINE_D5 |
OPTIFINE_K4 |
RANDOM |
RIVENS |
RIVENS_FULL |
RIVENS_HALF |
TAYLOR |
| Modifier and Type | Field and Description |
|---|---|
TrigonometryBase |
math |
java.lang.String |
name |
| Modifier and Type | Method and Description |
|---|---|
float |
cos(float x)
Calculates the cosine of a given value.
|
float |
sin(float x)
Calculates the sine of a given value.
|
static Trigonometry |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Trigonometry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOftanpublic static final Trigonometry MINECRAFT
public static final Trigonometry OPTIFINE_D5
public static final Trigonometry OPTIFINE_K4
public static final Trigonometry JAVA
public static final Trigonometry LIB_GDX
public static final Trigonometry RANDOM
public static final Trigonometry RIVENS_FULL
public static final Trigonometry RIVENS_HALF
public static final Trigonometry RIVENS
public static final Trigonometry TAYLOR
public final java.lang.String name
public final TrigonometryBase math
public static Trigonometry[] values()
for (Trigonometry c : Trigonometry.values()) System.out.println(c);
public static Trigonometry 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 float sin(float x)
TrigonometryBasesin in interface TrigonometryBasex - The value.public float cos(float x)
TrigonometryBasecos in interface TrigonometryBasex - The value.