12345678910111213141516171819 |
- #ifndef HIGHMAP_H
- #define HIGHMAP_H
- #include "math/Vector.h"
- class HighMap {
- int size;
- int height;
- public:
- HighMap(int size, int height);
- int getHeight(int x, int y) const;
- private:
- int random(int x, int y) const;
- };
- #endif
|