public class TurbulenceFunction extends CompoundFunction2D
Modifier and Type | Field and Description |
---|---|
private float |
octaves |
basis
Constructor and Description |
---|
TurbulenceFunction(Function2D basis,
float octaves) |
Modifier and Type | Method and Description |
---|---|
float |
evaluate(float x,
float y) |
float |
getOctaves() |
void |
setOctaves(float octaves) |
getBasis, setBasis
private float octaves
public TurbulenceFunction(Function2D basis, float octaves)
public void setOctaves(float octaves)
public float getOctaves()
public float evaluate(float x, float y)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses