FastNoiseWrapper.h 379 B

123456789101112131415161718
  1. #pragma once
  2. #include "FastNoiseLite.h"
  3. #include "Noise.h"
  4. class FastNoiseWrapper : public Noise
  5. {
  6. private:
  7. int seed;
  8. float multiplier;
  9. FastNoiseLite* noise;
  10. public:
  11. FastNoiseWrapper(FastNoiseLite* noise, int seed);
  12. ~FastNoiseWrapper();
  13. void setMultiplier(float multiplier);
  14. int getSeed() const;
  15. double getNoise(double x, double y, double z);
  16. };