Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
        public VariableRuggednessEffect(HeightEffect smoothTerrain, HeightEffect ruggedTerrain, float startTransition, float transitionWidth) : this(smoothTerrain, ruggedTerrain, startTransition, transitionWidth, STANDARD_RUGGEDNESS_WAVELENGTH)
        {

        }
Exemplo n.º 3
0
 public HeightEffect plus(HeightEffect added)
 {
     return(new SummedHeightEffects(this, added));
 }
Exemplo n.º 4
0
 public SummedHeightEffects(HeightEffect one, HeightEffect two)
 {
     this.one = one;
     this.two = two;
 }
Exemplo n.º 5
0
 public JitterEffect(float amplitude, float wavelength, HeightEffect toJitter)
 {
     this.amplitude  = amplitude;
     this.wavelength = wavelength;
     this.jittered   = toJitter;
 }