17 lines
254 B
C++
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
|