Files
2016-05-24 09:58:28 +02:00

33 lines
384 B
C++

#pragma once
#include <string>
#include <vector>
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<Vertex> vertices;
};