17 #include <assimp/scene.h> 25 Model(
const GLchar* path);
34 void processNode(aiNode* node,
const aiScene* scene);
40 std::vector<Mesh::Texture>
loadMaterialTextures(aiMaterial* mat, aiTextureType type, std::string typeName);
Mesh processMesh(aiMesh *mesh, const aiScene *scene)
std::vector< Mesh::Texture > textures_loaded_
void loadModel(std::string path)
Model(const GLchar *path)
void processNode(aiNode *node, const aiScene *scene)
GLint TextureFromFile(const char *path, std::string directory)
std::vector< Mesh::Texture > loadMaterialTextures(aiMaterial *mat, aiTextureType type, std::string typeName)
std::vector< Mesh > meshes_