Removing useless variable.

This commit is contained in:
Faerbit 2015-03-17 09:42:51 +01:00
parent 7957b8b555
commit a7fb739204
2 changed files with 0 additions and 2 deletions

View File

@ -30,7 +30,6 @@ void Terrain::load() {
}
}
this->makeTriangleMesh(0, 0, heightmapHeight, heightmapWidth);
heightmapChanged = false; //no need to make a TriangleMesh again before rendering
}
void Terrain::makeTriangleMesh(int startX, int startZ, int endX, int endZ) {

View File

@ -22,7 +22,6 @@ class Terrain {
std::string heightmapFilePath;
int heightmapHeight, heightmapWidth;
float** heightmap; //can be accessed like 'float[][]'
bool heightmapChanged;
ACGL::OpenGL::SharedVertexArrayObject triangleMesh;
void set_abData(float* abData, int dataCount, int rowNum, int columnNum);
};