FlattenNoise.h 317 B

1234567891011121314151617
  1. #pragma once
  2. #include "Noise.h"
  3. class FlattenNoise : public Noise
  4. {
  5. Noise* base;
  6. double factor;
  7. double minValue;
  8. public:
  9. FlattenNoise(Noise* base, double factor, double minValue);
  10. ~FlattenNoise();
  11. int getSeed() const override;
  12. double getNoise(double x, double y, double z) override;
  13. };