summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-01-17 23:40:49 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-01-17 23:40:49 +0000
commit99ea817b8c172c2258e931eb0cc3364e49290539 (patch)
tree4e1c7b6c4e3585aa67d580cedc6b16c095565ab0
parentSplit window and display (application) classes (diff)
downloadilt-99ea817b8c172c2258e931eb0cc3364e49290539.tar.bz2
ilt-99ea817b8c172c2258e931eb0cc3364e49290539.tar.xz
ilt-99ea817b8c172c2258e931eb0cc3364e49290539.zip
Helpers can be static
-rw-r--r--gfx/models/obj_loader.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/gfx/models/obj_loader.h b/gfx/models/obj_loader.h
index 11c6b38..0523a95 100644
--- a/gfx/models/obj_loader.h
+++ b/gfx/models/obj_loader.h
@@ -44,10 +44,9 @@ private:
unsigned int FindLastVertexIndex(
const std::vector<OBJIndex *> & indexLookup, const OBJIndex * currentIndex, const IndexedModel & result);
void CreateOBJFace(const std::string & line);
-
- glm::vec2 ParseOBJVec2(const std::string & line);
- glm::vec3 ParseOBJVec3(const std::string & line);
- OBJIndex ParseOBJIndex(const std::string & token, bool * hasUVs, bool * hasNormals);
+ static glm::vec2 ParseOBJVec2(const std::string & line);
+ static glm::vec3 ParseOBJVec3(const std::string & line);
+ static OBJIndex ParseOBJIndex(const std::string & token, bool * hasUVs, bool * hasNormals);
};
#endif // OBJ_LOADER_H_INCLUDED