#pragma once #include #include class HeightMap { private: int height; int width; public: HeightMap(const std::string &file); ~HeightMap(); void Draw(); void GetHeigth(float x, float z); struct Vertex { float x; float y; float z; float normalX; float normalY; float normalZ; float texX; float texY; }; std::vector vertices; };