Class FastMaths

java.lang.Object
net.rodofire.easierworldcreator.util.FastMaths

public class FastMaths extends Object
  • Constructor Details

    • FastMaths

      public FastMaths()
  • Method Details

    • registerMaths

      public static void registerMaths()
    • getFastSin

      public static double getFastSin(double x)
    • getFastCos

      public static double getFastCos(double x)
    • getFastTan

      public static double getFastTan(double x)
    • getFastExp

      public static double getFastExp(double x)
    • getPreciseSin

      public static double getPreciseSin(double x)
    • getPreciseCos

      public static double getPreciseCos(double x)
    • getPreciseTan

      public static double getPreciseTan(double x)
    • getPreciseExp

      public static double getPreciseExp(double x)
    • getLength

      public static double getLength(int x, int y, int z)
    • getLengthWPrecision

      public static double getLengthWPrecision(int x, int y, int z, float precision)
    • getLength

      public static double getLength(float x, float y, float z)
    • getLengthWPrecision

      public static double getLengthWPrecision(float x, float y, float z, float precision)
    • getLength

      public static double getLength(int x, int z)
    • getLengthWPrecision

      public static double getLengthWPrecision(int x, int z, float precision)
    • getLength

      public static double getLength(float x, float z)
    • getLengthWPrecision

      public static double getLengthWPrecision(float x, float z, float precision)
    • getFastsqrt

      public static double getFastsqrt(float number)
    • getFastsqrt

      public static double getFastsqrt(float number, float precision)