Package net.minecraftforge.common.model
Class TransformationHelper
- java.lang.Object
-
- net.minecraftforge.common.model.TransformationHelper
-
public final class TransformationHelper extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransformationHelper.Deserializer
-
Field Summary
Fields Modifier and Type Field Description private static double
THRESHOLD
-
Constructor Summary
Constructors Constructor Description TransformationHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static boolean
epsilonEquals(Vector4f v1, Vector4f v2, float epsilon)
static Vector3f
lerp(Vector3f from, Vector3f to, float progress)
static Quaternion
makeQuaternion(float[] values)
static Quaternion
quatFromXYZ(float[] xyz, boolean degrees)
static Quaternion
quatFromXYZ(Vector3f xyz, boolean degrees)
static Quaternion
slerp(Quaternion v0, Quaternion v1, float t)
static TransformationMatrix
slerp(TransformationMatrix one, TransformationMatrix that, float progress)
static TransformationMatrix
toTransformation(ItemTransformVec3f transform)
Deprecated.
-
-
-
Field Detail
-
THRESHOLD
private static final double THRESHOLD
- See Also:
- Constant Field Values
-
-
Method Detail
-
toTransformation
@Deprecated public static TransformationMatrix toTransformation(ItemTransformVec3f transform)
Deprecated.
-
quatFromXYZ
public static Quaternion quatFromXYZ(Vector3f xyz, boolean degrees)
-
quatFromXYZ
public static Quaternion quatFromXYZ(float[] xyz, boolean degrees)
-
makeQuaternion
public static Quaternion makeQuaternion(float[] values)
-
slerp
public static Quaternion slerp(Quaternion v0, Quaternion v1, float t)
-
slerp
public static TransformationMatrix slerp(TransformationMatrix one, TransformationMatrix that, float progress)
-
-