summaryrefslogtreecommitdiff
path: root/assetFactory/modelFactoryMesh.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-11-09 01:57:27 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-11-09 01:57:27 +0000
commitd771fbda2c171cfbc36cc0eb3122c1a02ffbb081 (patch)
tree69d2879e41da2b79264b6c3b8500b5d18383ae85 /assetFactory/modelFactoryMesh.h
parentWIP typedefing all the things - sources (diff)
downloadilt-d771fbda2c171cfbc36cc0eb3122c1a02ffbb081.tar.bz2
ilt-d771fbda2c171cfbc36cc0eb3122c1a02ffbb081.tar.xz
ilt-d771fbda2c171cfbc36cc0eb3122c1a02ffbb081.zip
WIP typedefing just about everything else
Diffstat (limited to 'assetFactory/modelFactoryMesh.h')
-rw-r--r--assetFactory/modelFactoryMesh.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/assetFactory/modelFactoryMesh.h b/assetFactory/modelFactoryMesh.h
index 32e7ab5..480bf7f 100644
--- a/assetFactory/modelFactoryMesh.h
+++ b/assetFactory/modelFactoryMesh.h
@@ -1,5 +1,6 @@
#pragma once
+#include "config/types.h"
#include "modelFactoryMesh_fwd.h"
#include <OpenMesh/Core/Mesh/PolyMesh_ArrayKernelT.hh>
#include <OpenMesh/Core/Mesh/Traits.hh>
@@ -38,10 +39,10 @@ struct ModelFactoryTraits : public OpenMesh::DefaultTraits {
EdgeAttributes(OpenMesh::Attributes::Status);
VertexAttributes(OpenMesh::Attributes::Normal | OpenMesh::Attributes::Status);
HalfedgeAttributes(OpenMesh::Attributes::TexCoord2D);
- using Point = glm::vec3;
- using Normal = glm::vec3;
- using Color = glm::vec4;
- using TexCoord2D = glm::vec2;
+ using Point = Position3D;
+ using Normal = Normal3D;
+ using Color = RGBA;
+ using TexCoord2D = TextureRelCoord;
};
struct ModelFactoryMesh : public OpenMesh::PolyMesh_ArrayKernelT<ModelFactoryTraits> {