SparrowRenderer/gridmesh.h
2015-06-26 14:56:43 +02:00

17 lines
254 B
C++

#ifndef GRIDMESH_H
#define GRIDMESH_H
#include "mesh.h"
class GridMesh : public Mesh
{
public:
GridMesh(int width, int height, bool alternate);
private:
int m_height;
int m_width;
int getVertexId(int i, int j);
};
#endif // GRIDMESH_H