Class GradientNoiseProperty

java.lang.Object
com.hypixel.hytale.procedurallib.property.GradientNoiseProperty
All Implemented Interfaces:
NoiseProperty

public class GradientNoiseProperty extends Object implements NoiseProperty
  • Field Details

  • Constructor Details

  • Method Details

    • get

      public double get(int seed, double x, double y)
      Specified by:
      get in interface NoiseProperty
    • get

      public double get(int seed, double x, double y, double z)
      Specified by:
      get in interface NoiseProperty
    • getAngle

      protected static double getAngle(double dx, double dy)
    • getAbsAngle

      protected static double getAbsAngle(double dx, double dy)
    • getMagnitude

      protected static double getMagnitude(double dx, double dy, double invNormalize)
    • convertRange

      protected static float convertRange(float angle)