public VariableRuggednessEffect(HeightEffect smoothTerrain, HeightEffect ruggedTerrain, float startTransition, float transitionWidth, float wavelength) { this.smoothTerrain = smoothTerrain; this.ruggedTerrain = ruggedTerrain; this.startTransition = startTransition; this.transitionWidth = transitionWidth; this.wavelength = wavelength; }
public VariableRuggednessEffect(HeightEffect smoothTerrain, HeightEffect ruggedTerrain, float startTransition, float transitionWidth) : this(smoothTerrain, ruggedTerrain, startTransition, transitionWidth, STANDARD_RUGGEDNESS_WAVELENGTH) { }
public HeightEffect plus(HeightEffect added) { return(new SummedHeightEffects(this, added)); }
public SummedHeightEffects(HeightEffect one, HeightEffect two) { this.one = one; this.two = two; }
public JitterEffect(float amplitude, float wavelength, HeightEffect toJitter) { this.amplitude = amplitude; this.wavelength = wavelength; this.jittered = toJitter; }