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

#include <QMatrix4x4>
#include <QVector>
#include <QOpenGLTexture>


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

	OpenGLMesh(QVector<float> verts, QOpenGLTexture *tex);
};


#endif