public void ResetAllSources() { for (var c = 0; c < Noise.MAX_SOURCES; ++c) this.sources[c] = this.basisFunctions[c]; }