mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-10 08:08:57 +08:00
Report error message.
This commit is contained in:
parent
85591954ab
commit
b66d68f3fb
@ -20,6 +20,7 @@ static std::string GetFilePathExtension(const std::string &FileName) {
|
|||||||
bool LoadGLTF(const std::string &filename, float scale, std::vector<Mesh<float> > *meshes, std::vector<Material> *materials, std::vector<Texture> *textures)
|
bool LoadGLTF(const std::string &filename, float scale, std::vector<Mesh<float> > *meshes, std::vector<Material> *materials, std::vector<Texture> *textures)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
// TODO(syoyo): Implement
|
||||||
// TODO(syoyo): Texture
|
// TODO(syoyo): Texture
|
||||||
// TODO(syoyo): Material
|
// TODO(syoyo): Material
|
||||||
|
|
||||||
@ -45,7 +46,8 @@ bool LoadGLTF(const std::string &filename, float scale, std::vector<Mesh<float>
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
std::cerr << "LoadGLTF() function is not yet implemented!" << std::endl;
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace example
|
} // namespace example
|
||||||
|
Loading…
x
Reference in New Issue
Block a user