summaryrefslogtreecommitdiff
path: root/gfx/models/mesh.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-02-20 14:06:29 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-02-20 14:06:29 +0000
commitb77024de4351bcddee5c4781aa9fc031131f293b (patch)
treec51d7c8add4c450a0b6e980da88830fa53215171 /gfx/models/mesh.cpp
parentdos2unix shader sources (diff)
downloadilt-b77024de4351bcddee5c4781aa9fc031131f293b.tar.bz2
ilt-b77024de4351bcddee5c4781aa9fc031131f293b.tar.xz
ilt-b77024de4351bcddee5c4781aa9fc031131f293b.zip
Pass linters
Diffstat (limited to 'gfx/models/mesh.cpp')
-rw-r--r--gfx/models/mesh.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/gfx/models/mesh.cpp b/gfx/models/mesh.cpp
index c829f4e..3487083 100644
--- a/gfx/models/mesh.cpp
+++ b/gfx/models/mesh.cpp
@@ -1,11 +1,5 @@
#include "mesh.h"
-#include "obj.h"
#include "vertex.hpp"
-#include <algorithm>
-#include <glm/glm.hpp>
-#include <iterator>
-#include <resource.h>
-#include <vector>
Mesh::Mesh(std::span<Vertex> vertices, std::span<unsigned int> indices, GLenum m) :
m_vertexArrayObject {}, m_vertexArrayBuffers {}, m_numIndices {indices.size()}, mode {m}