0ad/source/terrain/Patch.h
notpete 874df3bb1c Modified to use CBound class.
This was SVN commit r101.
2003-11-25 20:09:57 +00:00

38 lines
676 B
C++
Executable File

//***********************************************************
//
// Name: Patch.h
// Last Update: 23/2/02
// Author: Poya Manouchehri
//
// Description: CPatch is a smaller portion of the terrain.
// It handles its own rendering
//
//***********************************************************
#ifndef PATCH_H
#define PATCH_H
#include "Bound.h"
#include "TerrGlobals.h"
#include "MiniPatch.h"
class CPatch
{
public:
CPatch ();
~CPatch ();
//initialize the patch
void Initialize (STerrainVertex *first_vertex);
// protected:
CMiniPatch m_MiniPatches[16][16];
CBound m_Bounds;
unsigned int m_LastVisFrame;
STerrainVertex *m_pVertices;
};
#endif