15 lines
261 B
C++
15 lines
261 B
C++
#ifndef GRIDMESH_H
|
|
#define GRIDMESH_H
|
|
|
|
#include "meshbuilder.h"
|
|
|
|
class GridMesh : public MeshBuilder
|
|
{
|
|
public:
|
|
GridMesh(Material* mat, int width, int height, bool alternate = true);
|
|
private:
|
|
int getVertexId(int i, int j, int height);
|
|
};
|
|
|
|
#endif // GRIDMESH_H
|