#ifndef SMHENGINE_SRC_UTIL_UTIL_H_ #define SMHENGINE_SRC_UTIL_UTUL_H_ #include // This is so that i can use // glm::vec3 inside of an // std::unordered_map as it's // experimental for some reason // smh #define GLM_ENABLE_EXPERIMENTAL #include #include #include #include struct ObjLMesh; void OBJLtoGLM(ObjLMesh& mesh, std::vector& outVert, std::vector& outNorm, std::vector& outTexCoord, std::vector& outIndices); void ComputeNormals(std::vector& normals, std::vector& vertices, std::vector& elements); void UintToGLuint(ObjLMesh& mesh, std::vector& outIndices); // void OBJLVec3toGLM(objl::Vector3& inVec, glm::vec3& outVec); #endif