aboutsummaryrefslogtreecommitdiff
path: root/src/opengl_mesh.hh
blob: e3b8ad20976977f8d2e3bd180a620da8cfbe5c24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef MESH_HH
#define MESH_HH

#include <QMatrix4x4>
#include <QVector>
#include <QOpenGLFunctions>


struct OpenGLMesh {
	GLuint vao, vbo;
	unsigned nverts;
	QMatrix4x4 mat;

	OpenGLMesh(QVector<float> verts);
};


#endif