Class MathUtils

java.lang.Object
ltd.icecold.orangeengine.api.math.MathUtils

public class MathUtils extends Object
  • Constructor Details

    • MathUtils

      public MathUtils()
  • Method Details

    • getModelMatrixIntegral

      public static OpenMatrix4f getModelMatrixIntegral(float prevPosX, float posX, float prevPosY, float posY, float prevPosZ, float posZ, float prevPitch, float pitch, float prevYaw, float yaw, float partialTick, float scaleX, float scaleY, float scaleZ)
    • getVectorForRotation

      public static Vec3f getVectorForRotation(float pitch, float yaw)
    • lerpBetween

      public static float lerpBetween(float f1, float f2, float zero2one)
    • rotlerp

      public static float rotlerp(float from, float to, float limit)
    • wrapDegrees

      public static float wrapDegrees(float data)