From da0bbb835d103954724c0f9bc2800b0e7cdb61fe Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 13 Oct 2022 20:40:49 +0100 Subject: Standard typedefs for Mesh --- gfx/models/mesh.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gfx/models') diff --git a/gfx/models/mesh.h b/gfx/models/mesh.h index c6f11a2..25a9064 100644 --- a/gfx/models/mesh.h +++ b/gfx/models/mesh.h @@ -4,10 +4,11 @@ #include #include #include +#include class Vertex; -class Mesh { +class Mesh : public ConstTypeDefs { public: Mesh(const std::span vertices, const std::span indices, GLenum = GL_TRIANGLES); @@ -19,4 +20,3 @@ private: GLsizei m_numIndices; GLenum mode; }; -using MeshPtr = std::shared_ptr; -- cgit v1.2.3