public final class TransformationHelper
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TransformationHelper.Deserializer |
Modifier and Type | Field and Description |
---|---|
private static double |
THRESHOLD |
Constructor and Description |
---|
TransformationHelper() |
Modifier and Type | Method and 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.
|
private static final double THRESHOLD
@Deprecated public static TransformationMatrix toTransformation(ItemTransformVec3f transform)
public static Quaternion quatFromXYZ(Vector3f xyz, boolean degrees)
public static Quaternion quatFromXYZ(float[] xyz, boolean degrees)
public static Quaternion makeQuaternion(float[] values)
public static Quaternion slerp(Quaternion v0, Quaternion v1, float t)
public static TransformationMatrix slerp(TransformationMatrix one, TransformationMatrix that, float progress)