public class NoiseGeneratorImproved extends NoiseGenerator
Modifier and Type | Field and Description |
---|---|
private static double[] |
GRAD_2X |
private static double[] |
GRAD_2Z |
private static double[] |
GRAD_X |
private static double[] |
GRAD_Y |
private static double[] |
GRAD_Z |
private int[] |
permutations |
double |
xCoord |
double |
yCoord |
double |
zCoord |
Constructor and Description |
---|
NoiseGeneratorImproved() |
NoiseGeneratorImproved(java.util.Random p_i45469_1_) |
Modifier and Type | Method and Description |
---|---|
double |
grad(int p_76310_1_,
double p_76310_2_,
double p_76310_4_,
double p_76310_6_) |
double |
grad2(int p_76309_1_,
double p_76309_2_,
double p_76309_4_) |
double |
lerp(double p_76311_1_,
double p_76311_3_,
double p_76311_5_) |
void |
populateNoiseArray(double[] noiseArray,
double xOffset,
double yOffset,
double zOffset,
int xSize,
int ySize,
int zSize,
double xScale,
double yScale,
double zScale,
double noiseScale) |
private final int[] permutations
public double xCoord
public double yCoord
public double zCoord
private static final double[] GRAD_X
private static final double[] GRAD_Y
private static final double[] GRAD_Z
private static final double[] GRAD_2X
private static final double[] GRAD_2Z
public NoiseGeneratorImproved()
public NoiseGeneratorImproved(java.util.Random p_i45469_1_)
public final double lerp(double p_76311_1_, double p_76311_3_, double p_76311_5_)
public final double grad2(int p_76309_1_, double p_76309_2_, double p_76309_4_)
public final double grad(int p_76310_1_, double p_76310_2_, double p_76310_4_, double p_76310_6_)
public void populateNoiseArray(double[] noiseArray, double xOffset, double yOffset, double zOffset, int xSize, int ySize, int zSize, double xScale, double yScale, double zScale, double noiseScale)