Skip to content
Snippets Groups Projects
Commit 5ce7155a authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

pp

parent ad39f5c1
No related branches found
No related tags found
No related merge requests found
......@@ -642,7 +642,8 @@ static void addScalarPolygon(PView *p, double **xyz,
}
opt->boundary--;
for(std::map<MEdge, int, Less_Edge>::iterator ite = edges.begin(); ite != edges.end(); ite++){
for(std::map<MEdge, int, Less_Edge>::iterator ite = edges.begin();
ite != edges.end(); ite++){
int i = (int) (*ite).second / 100;
int j = (*ite).second % 100;
addScalarLine(p, xyz, val, pre, 3*i+il[j][0], 3*i+il[j][0], true);
......@@ -838,7 +839,8 @@ static void addOutlinePolyhedron(PView *p, double **xyz,
else triFaces.erase(ite);
}
}
for(std::map<MFace, int, Less_Face>::iterator ite = triFaces.begin(); ite != triFaces.end(); ite++){
for(std::map<MFace, int, Less_Face>::iterator ite = triFaces.begin();
ite != triFaces.end(); ite++){
int i = (int) (*ite).second / 100;
int j = (*ite).second % 100;
addOutlineTriangle(p, xyz, color, pre, 4*i+it[j][0], 4*i+it[j][1], 4*i+it[j][2]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment