public class SimplexNoiseGenerator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static double |
F2 |
private static double |
G2 |
protected static int[][] |
GRADS |
private int[] |
p |
private static double |
SQRT_3 |
double |
xo |
double |
yo |
double |
zo |
Constructor and Description |
---|
SimplexNoiseGenerator(java.util.Random seed) |
Modifier and Type | Method and Description |
---|---|
double |
func_227464_a_(double p_227464_1_,
double p_227464_3_,
double p_227464_5_) |
private double |
getContrib(int gradIndex,
double x,
double y,
double z,
double offset) |
private int |
getPermutValue(int permutIndex) |
double |
getValue(double x,
double y) |
protected static double |
processGrad(int[] gradElement,
double xFactor,
double yFactor,
double zFactor) |
protected static final int[][] GRADS
private static final double SQRT_3
private static final double F2
private static final double G2
private final int[] p
public final double xo
public final double yo
public final double zo
private int getPermutValue(int permutIndex)
protected static double processGrad(int[] gradElement, double xFactor, double yFactor, double zFactor)
private double getContrib(int gradIndex, double x, double y, double z, double offset)
public double getValue(double x, double y)
public double func_227464_a_(double p_227464_1_, double p_227464_3_, double p_227464_5_)