Class GridNoise
java.lang.Object
com.hypixel.hytale.procedurallib.logic.GridNoise
- All Implemented Interfaces:
NoiseFunction,NoiseFunction2d,NoiseFunction3d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final doubleprotected final doubleprotected final doubleprotected final doubleprotected final doubleprotected final double -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
thicknessX
protected final double thicknessX -
thicknessY
protected final double thicknessY -
thicknessZ
protected final double thicknessZ -
thicknessX_m1
protected final double thicknessX_m1 -
thicknessY_m1
protected final double thicknessY_m1 -
thicknessZ_m1
protected final double thicknessZ_m1
-
-
Constructor Details
-
GridNoise
public GridNoise(double thicknessX, double thicknessY, double thicknessZ)
-
-
Method Details
-
get
public double get(int seed, int offsetSeed, double x, double y) - Specified by:
getin interfaceNoiseFunction2d
-
get
public double get(int seed, int offsetSeed, double x, double y, double z) - Specified by:
getin interfaceNoiseFunction3d
-
toString
-