From 7fbe0814d52ba861a02b0560d4e6872845ef241e Mon Sep 17 00:00:00 2001 From: ccolin Date: Tue, 22 Dec 2020 13:15:23 +0100 Subject: initial commit --- src/opengl_mesh.hh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/opengl_mesh.hh (limited to 'src/opengl_mesh.hh') diff --git a/src/opengl_mesh.hh b/src/opengl_mesh.hh new file mode 100644 index 0000000..e3b8ad2 --- /dev/null +++ b/src/opengl_mesh.hh @@ -0,0 +1,18 @@ +#ifndef MESH_HH +#define MESH_HH + +#include +#include +#include + + +struct OpenGLMesh { + GLuint vao, vbo; + unsigned nverts; + QMatrix4x4 mat; + + OpenGLMesh(QVector verts); +}; + + +#endif -- cgit v1.2.3-70-g09d2