SparrowRenderer/gridmesh.h
2015-08-27 23:35:56 +02:00

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