From 99ea817b8c172c2258e931eb0cc3364e49290539 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 17 Jan 2021 23:40:49 +0000 Subject: Helpers can be static --- gfx/models/obj_loader.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gfx') 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 & 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 -- cgit v1.2.3