www.pudn.com > HeightMap_D3D.zip > cTerrain.h
//-----------------------------------------------------------------------------
// File: cTerrain.h
// Desc: Declarations of all the cTerrain members
//-----------------------------------------------------------------------------
#ifndef cTerrain_h
#define cTerrain_h
#define TERRAIN_X 128
#define TERRAIN_Y 128
#define HAX_HEIGHT -10
class cTerrain
{
public:
cTerrain();
HRESULT Render();
~cTerrain();
private:
HRESULT SetVertexBuffer();
LPDIRECT3DVERTEXBUFFER9 m_pVB;
};
#endif