org.globalse.arena.sword.algorithm
Class Generator1
java.lang.Object
|
+--org.globalse.arena.sword.algorithm.Generator
|
+--org.globalse.arena.sword.algorithm.Generator1
- public class Generator1
- extends Generator
Generator1 is a fractal-generation algorithm that uses
a simple iterative interpolation algorithm with random displacement.
Method Summary |
double[][] |
generate(int x,
int y,
int logOfSize,
long seed,
double roughness)
|
double[] |
getMinMax()
|
Methods inherited from class org.globalse.arena.sword.algorithm.Generator |
crop,
getRandomValue |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
generate
public double[][] generate(int x,
int y,
int logOfSize,
long seed,
double roughness)
- Overrides:
- generate in class Generator
getMinMax
public double[] getMinMax()
- Overrides:
- getMinMax in class Generator
This page is hosted by the Chair for Applied Software Engineering of the Technische Universität München.
Imprint (Impressum)