Read the vertices references and discard them

This commit is contained in:
Maxime Gimeno 2017-02-07 12:44:53 +01:00
parent f86f84db16
commit e93b38406c
1 changed files with 2 additions and 2 deletions

View File

@ -362,7 +362,7 @@ bool build_triangulation_from_file(std::istream& is,
// grab the vertices
int dim;
int nv, nf, ntet;
int nv, nf, ntet, ref;
std::string word;
is >> word >> dim; // MeshVersionFormatted 1
@ -378,7 +378,7 @@ bool build_triangulation_from_file(std::istream& is,
for(int i=0; i<nv; ++i)
{
double x,y,z;
is >> x >> y >> z;
is >> x >> y >> z>>ref;
points.push_back(Point_3(x,y,z));
}
}