public class SimplexF extends PerlinF
Author:
DaPorkchop_ (Nukkit Project)
  • Field Details

    • grad3

      public static final int[][] grad3
    • SQRT_3

      protected static float SQRT_3
    • SQRT_5

      protected static float SQRT_5
    • F2

      protected static float F2
    • G2

      protected static float G2
    • G22

      protected static float G22
    • F3

      protected static float F3
    • G3

      protected static float G3
    • F4

      protected static float F4
    • G4

      protected static float G4
    • G42

      protected static float G42
    • G43

      protected static float G43
    • G44

      protected static float G44
    • offsetW

      protected final float offsetW
  • Constructor Details

    • SimplexF

      public SimplexF(NukkitRandom random, float octaves, float persistence)
    • SimplexF

      public SimplexF(NukkitRandom random, float octaves, float persistence, float expansion)
  • Method Details

    • dot2D

      protected static float dot2D(int[] g, float x, float y)
    • dot3D

      protected static float dot3D(int[] g, float x, float y, float z)
    • dot4D

      protected static float dot4D(int[] g, float x, float y, float z, float w)
    • getNoise3D

      public float getNoise3D(float x, float y, float z)
      Overrides:
      getNoise3D in class PerlinF
    • getNoise2D

      public float getNoise2D(float x, float y)
      Overrides:
      getNoise2D in class PerlinF