Class OldSimplexNoise

java.lang.Object
com.hypixel.hytale.procedurallib.logic.OldSimplexNoise
All Implemented Interfaces:
NoiseFunction, NoiseFunction2d, NoiseFunction3d

public class OldSimplexNoise extends Object implements NoiseFunction
  • Field Details

  • Constructor Details

    • OldSimplexNoise

      private OldSimplexNoise()
  • Method Details

    • get

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

      public double get(int seed, int offsetSeed, double x, double y, double z)
      Specified by:
      get in interface NoiseFunction3d
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object
    • extrapolate

      private static double extrapolate(int seed, int x, int y, double xd, double yd)
    • extrapolate

      private static double extrapolate(int seed, int x, int y, int z, double xd, double yd, double zd)
    • fastFloor

      private static int fastFloor(double x)