#include <windows.h>

class Vert{
public:
	float x;
	float y;
	float z;
};

class TexCoord{
public:
	float u;
	float v;
};

class SwiftHeightField {
private:
	int hmHeight;
	int hmWidth;

	int vhVertexCount;
	Vert *vhVertices;
	TexCoord *vhTexCoords;

	unsigned int vhVBOVertices;
	unsigned int vhVBOTexCoords;

	unsigned int tID[2];

	bool Init(void);

public:
	bool Create(char *hFileName, const int hWidth, const int hHeight);

	void Render(void);

	BYTE hHeightField[1024][1024];
};
