Add modules with one source (or even zero sources) work, but aren't particularly useful.
If you are using the included XML noise configuration system, Add modules can be declared as
<add> ...source modules... </add>
42434445464748
* @throws BuilderException * if any of the source modules throws an exception. * @see ModuleBuilder#createModule() */ public Add createModule () throws BuilderException { return new Add (createSources ()); }
52535455565758
for (int octave = 0; octave < octaves; ++octave) parts[octave] = createPerlinOctave (octave, seed, lacunarity, persistence, quality); return new Add (parts); }