Package net.minecraftforge.common.util
Class TransformationHelper
java.lang.Object
net.minecraftforge.common.util.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 Transformation
slerp
(Transformation one, Transformation that, float progress)
-
Field Details
-
THRESHOLD
private static final double THRESHOLD- See Also:
-
-
Constructor Details
-
TransformationHelper
public TransformationHelper()
-
-
Method Details
-
quatFromXYZ
-
quatFromXYZ
-
makeQuaternion
-
lerp
-
slerp
-
slerp
-
epsilonEquals
-