CSC8502_Advanced_Graphics_For_Games / nclgl / HeightMap.h
HeightMap.h
Raw
#pragma once
#include <vector>
#include "Mesh.h"

#define HEIGHTMAP_X 16.0f
#define HEIGHTMAP_Y 1.0f
#define HEIGHTMAP_Z 16.0f

#define RAW_WIDTH 257
#define RAW_HEIGHT 257

class HeightMap : public Mesh {
public:
	HeightMap(const std::string& name);
	~HeightMap(void) {};

	Vector3 GetHeightmapSize() const { return heightmapSize; }
protected:
	Vector3 heightmapSize;
};