FastNoiseWrapper.h 385 B

123456789101112131415161718
  1. #pragma once
  2. #include "Noise.h"
  3. #include "FastNoiseLite.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. };