Skip to content
Snippets Groups Projects
Commit 8ab1d511 authored by 백상수's avatar 백상수
Browse files

fix openObj(). (brackets)

parent aa6d83b3
Branches
No related tags found
No related merge requests found
...@@ -206,12 +206,14 @@ bool openObj(const std::string fileName, std::vector<glm::vec3> &vertices, std:: ...@@ -206,12 +206,14 @@ bool openObj(const std::string fileName, std::vector<glm::vec3> &vertices, std::
log_warn(infoLog, fileName + " : " + "faceVertexNormalIndices.size() : " + std::to_string(faceVertexNormalIndicies.size())); log_warn(infoLog, fileName + " : " + "faceVertexNormalIndices.size() : " + std::to_string(faceVertexNormalIndicies.size()));
} }
} }
}
ifs.close(); ifs.close();
return true; return true;
} }
Image *load_Image(std::string fileName, int *width, int *height, int *nrChannels) Image *load_Image(std::string fileName, int *width, int *height, int *nrChannels)
{ {
fileName = "../Images/" + fileName; fileName = "../Images/" + fileName;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment