If you are using the included XML noise configuration system, Sphere modules can be declared as
<sphere frequency="frequency" amplitude="amplitude" />
44454647484950
if (!hasAmplitude) throw new BuilderException ("Sphere requires amplitude."); if (frequency < 0.0) throw new BuilderException ("Sphere requires non-negative frequency."); return new Sphere (frequency, amplitude); }