summaryrefslogtreecommitdiff
path: root/assetFactory/modelFactoryMesh.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-13 02:20:50 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-13 02:20:50 +0100
commit1b97b7b4cb126c8b60ac1acbd7e72274f0ddf21f (patch)
tree5271470d667c2d1b3372848d60bbcb04a011f2fe /assetFactory/modelFactoryMesh.h
parentAdd missing forward declaration (diff)
downloadilt-1b97b7b4cb126c8b60ac1acbd7e72274f0ddf21f.tar.bz2
ilt-1b97b7b4cb126c8b60ac1acbd7e72274f0ddf21f.tar.xz
ilt-1b97b7b4cb126c8b60ac1acbd7e72274f0ddf21f.zip
Use texture atlas for asset factory
Diffstat (limited to 'assetFactory/modelFactoryMesh.h')
-rw-r--r--assetFactory/modelFactoryMesh.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/assetFactory/modelFactoryMesh.h b/assetFactory/modelFactoryMesh.h
index 8ac2edd..4eac7ee 100644
--- a/assetFactory/modelFactoryMesh.h
+++ b/assetFactory/modelFactoryMesh.h
@@ -1,6 +1,7 @@
#pragma once
#include "modelFactoryMesh_fwd.h"
+#include <GL/glew.h>
#include <OpenMesh/Core/Mesh/PolyMesh_ArrayKernelT.hh>
#include <OpenMesh/Core/Mesh/Traits.hh>
#include <glm/geometric.hpp>
@@ -47,6 +48,7 @@ struct ModelFactoryMesh : public OpenMesh::PolyMesh_ArrayKernelT<ModelFactoryTra
ModelFactoryMesh();
OpenMesh::FPropHandleT<bool> smoothFaceProperty;
+ OpenMesh::FPropHandleT<GLuint> materialFaceProperty;
OpenMesh::FPropHandleT<std::string> nameFaceProperty;
OpenMesh::HPropHandleT<std::string> nameAdjFaceProperty;