Class SimplexNoiseGenerator


  • public class SimplexNoiseGenerator
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static double F2  
      private static double G2  
      protected static int[][] GRADIENT  
      private int[] p  
      private static double SQRT_3  
      double xo  
      double yo  
      double zo  
    • Constructor Summary

      Constructors 
      Constructor Description
      SimplexNoiseGenerator​(java.util.Random p_i45471_1_)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected static double dot​(int[] p_215467_0_, double p_215467_1_, double p_215467_3_, double p_215467_5_)  
      private double getCornerNoise3D​(int p_215465_1_, double p_215465_2_, double p_215465_4_, double p_215465_6_, double p_215465_8_)  
      double getValue​(double p_151605_1_, double p_151605_3_)  
      double getValue​(double p_227464_1_, double p_227464_3_, double p_227464_5_)  
      private int p​(int p_215466_1_)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • GRADIENT

        protected static final int[][] GRADIENT
      • SQRT_3

        private static final double SQRT_3
      • F2

        private static final double F2
      • G2

        private static final double G2
      • p

        private final int[] p
      • xo

        public final double xo
      • yo

        public final double yo
      • zo

        public final double zo
    • Constructor Detail

      • SimplexNoiseGenerator

        public SimplexNoiseGenerator​(java.util.Random p_i45471_1_)
    • Method Detail

      • p

        private int p​(int p_215466_1_)
      • dot

        protected static double dot​(int[] p_215467_0_,
                                    double p_215467_1_,
                                    double p_215467_3_,
                                    double p_215467_5_)
      • getCornerNoise3D

        private double getCornerNoise3D​(int p_215465_1_,
                                        double p_215465_2_,
                                        double p_215465_4_,
                                        double p_215465_6_,
                                        double p_215465_8_)
      • getValue

        public double getValue​(double p_151605_1_,
                               double p_151605_3_)
      • getValue

        public double getValue​(double p_227464_1_,
                               double p_227464_3_,
                               double p_227464_5_)