public class FBM extends java.lang.Object implements Function2D
Modifier and Type | Field and Description |
---|---|
protected Function2D |
basis |
protected float[] |
exponents |
protected float |
H |
protected float |
lacunarity |
protected float |
octaves |
Constructor and Description |
---|
FBM(float H,
float lacunarity,
float octaves) |
FBM(float H,
float lacunarity,
float octaves,
Function2D basis) |
Modifier and Type | Method and Description |
---|---|
float |
evaluate(float x,
float y) |
Function2D |
getBasisType() |
void |
setBasis(Function2D basis) |
protected float[] exponents
protected float H
protected float lacunarity
protected float octaves
protected Function2D basis
public FBM(float H, float lacunarity, float octaves)
public FBM(float H, float lacunarity, float octaves, Function2D basis)
public void setBasis(Function2D basis)
public Function2D getBasisType()
public float evaluate(float x, float y)
evaluate
in interface Function2D