HighMap.h 249 B

12345678910111213141516171819
  1. #ifndef HIGHMAP_H
  2. #define HIGHMAP_H
  3. #include "math/Vector.h"
  4. class HighMap {
  5. int size;
  6. int height;
  7. public:
  8. HighMap(int size, int height);
  9. int getHeight(int x, int y) const;
  10. private:
  11. int random(int x, int y) const;
  12. };
  13. #endif