ShapedNoise.h 338 B

1234567891011121314151617
  1. #pragma once
  2. #include "Noise.h"
  3. class ShapedNoise : public Noise
  4. {
  5. private:
  6. Noise* delegateNoise;
  7. double neighborOffset;
  8. public:
  9. ShapedNoise(Noise* delegateNoise);
  10. ~ShapedNoise();
  11. void setNeighborOffset(double offset);
  12. double getNoise(double x, double y, double z) override;
  13. int getSeed() const override;
  14. };