Class TransformationHelper

java.lang.Object
net.minecraftforge.common.util.TransformationHelper

public final class TransformationHelper extends Object
  • Field Details

  • Constructor Details

    • TransformationHelper

      public TransformationHelper()
  • Method Details

    • quatFromXYZ

      public static org.joml.Quaternionf quatFromXYZ(org.joml.Vector3f xyz, boolean degrees)
    • quatFromXYZ

      public static org.joml.Quaternionf quatFromXYZ(float[] xyz, boolean degrees)
    • quatFromXYZ

      public static org.joml.Quaternionf quatFromXYZ(float x, float y, float z, boolean degrees)
    • makeQuaternion

      public static org.joml.Quaternionf makeQuaternion(float[] values)
    • lerp

      public static org.joml.Vector3f lerp(org.joml.Vector3f from, org.joml.Vector3f to, float progress)
    • slerp

      public static org.joml.Quaternionf slerp(org.joml.Quaternionfc v0, org.joml.Quaternionfc v1, float t)
    • slerp

      public static Transformation slerp(Transformation one, Transformation that, float progress)
    • epsilonEquals

      public static boolean epsilonEquals(org.joml.Vector4f v1, org.joml.Vector4f v2, float epsilon)