public void SetSourceType(Int32 which, BasisType newBasisType, InterpolationType newInterpolationType)
{
if (which >= Noise.MAX_SOURCES || which < 0) return;
this.basisFunctions[which].BasisType = newBasisType;
this.basisFunctions[which].InterpolationType = newInterpolationType;
}