Fixed broken indices for some cases of OBJ parsing by using two passes
This commit is contained in:
@@ -170,8 +170,17 @@ private:
|
||||
|
||||
bool read_material( std::fstream& _in );
|
||||
|
||||
|
||||
private:
|
||||
|
||||
bool read_vertices(std::istream& _in, BaseImporter& _bi, Options& _opt,
|
||||
std::vector<Vec3f> & normals,
|
||||
std::vector<Vec3f> & colors,
|
||||
std::vector<Vec3f> & texcoords3d,
|
||||
std::vector<Vec2f> & texcoords,
|
||||
std::vector<VertexHandle> & vertexHandles,
|
||||
Options & fileOptions);
|
||||
|
||||
std::string path_;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user