Class NoiseSimplex
java.lang.Object
gaiasky.util.noise.NoiseSimplex
- All Implemented Interfaces:
INoise
-
Field Summary
Fields inherited from interface INoise
MAX_FBM_ITERATIONS -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface INoise
fbm, map, normalize, permute, rand, rand, rand, rand2, rand3, rand4, taylorInvSqrtModifier and TypeMethodDescriptiondefault doubleGenerates 3D Fractional Brownian motion (fBm) from the implementing noise.default doublemap(double value, double min1, double max1, double min2, double max2) Maps a value from one range to another.default doublenormalize(double v) Normalises a value from [-1,1] to [0,1].default doublepermute(double x) Permutation function used by the Simplex noise implementation.default doublerand(double n) Single float random based on a seed.default double2‑D random based on a vec2.default Vec33‑D random based on a vec3.default Vec22‑D random hash.default Vec33‑D random hash (used by GLSL rand3).default Vec44‑D random hash (mirrors GLSL rand4).default doubletaylorInvSqrt(double r) Taylor inverse square root approximation used in GLSL.
-
Constructor Details
-
NoiseSimplex
public NoiseSimplex()
-
-
Method Details
-
evaluate
-