Package net.minecraftforge.common.model
Class TransformationHelper
java.lang.Object
net.minecraftforge.common.model.TransformationHelper
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
epsilonEquals
(Vector4f v1, Vector4f v2, float epsilon) static Vector3f
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 Details
-
THRESHOLD
private static final double THRESHOLD- See Also:
-
-
Constructor Details
-
TransformationHelper
public TransformationHelper()
-
-
Method Details
-
toTransformation
Deprecated. -
quatFromXYZ
-
quatFromXYZ
-
makeQuaternion
-
lerp
-
slerp
-
slerp
public static TransformationMatrix slerp(TransformationMatrix one, TransformationMatrix that, float progress) -
epsilonEquals
-