SparrowRenderer/gridmesh.h

15 lines
242 B
C++

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