Class AngleHelper

java.lang.Object
team.lodestar.lodestone.helpers.AngleHelper

public class AngleHelper extends Object
  • Constructor Details

    • AngleHelper

      public AngleHelper()
  • Method Details

    • horizontalAngle

      public static float horizontalAngle(net.minecraft.core.Direction facing)
    • verticalAngle

      public static float verticalAngle(net.minecraft.core.Direction facing)
    • rad

      public static float rad(double angle)
    • deg

      public static float deg(double angle)
    • angleLerp

      public static float angleLerp(double pct, double current, double target)
    • getShortestAngleDiff

      public static float getShortestAngleDiff(double current, double target)
    • getShortestAngleDiff

      public static float getShortestAngleDiff(double current, double target, float hint)