Files
CGR3D-KM/OpenGL4/HeightMap.h
T
2016-05-23 14:51:04 +02:00

32 lines
349 B
C++

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