public interface NoiseSampler
| Modifier and Type | Method and Description |
|---|---|
double |
sample(double density,
int noiseX,
int noiseY,
int noiseZ,
int noiseSizeX,
int noiseSizeY,
int noiseSizeZ)
Sample density at a particular point.
|
double sample(double density,
int noiseX,
int noiseY,
int noiseZ,
int noiseSizeX,
int noiseSizeY,
int noiseSizeZ)
density - The terrain density from the previous step.noiseX - x-coordinate in noise coordinates.noiseY - y-coordinate in noise coordinates.noiseZ - z-coordinate in noise coordinates.noiseSizeX - Number of subchunks in the x-axis of a chunk.noiseSizeY - Number of subchunks in world height.noiseSizeZ - Number of subchunks in the z-axis of a chunk.