Class PointNoise
java.lang.Object
com.hypixel.hytale.procedurallib.logic.PointNoise
- All Implemented Interfaces:
NoiseFunction,NoiseFunction2d,NoiseFunction3d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final double -
Constructor Summary
ConstructorsConstructorDescriptionPointNoise(double x, double y, double z, double innerRadius, double outerRadius) -
Method Summary
-
Field Details
-
x
private final double x -
y
private final double y -
z
private final double z -
innerRadius2
private final double innerRadius2 -
outerRadius2
private final double outerRadius2 -
invRange2
private final transient double invRange2
-
-
Constructor Details
-
PointNoise
public PointNoise(double x, double y, double z, double innerRadius, double outerRadius)
-
-
Method Details
-
get
public double get(int seed, int seedOffset, double x, double y) - Specified by:
getin interfaceNoiseFunction2d
-
get
public double get(int seed, int seedOffset, double x, double y, double z) - Specified by:
getin interfaceNoiseFunction3d
-