SparrowRenderer/gridmesh.h

17 lines
270 B
C++

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