mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 13:50:33 +05:00
fix clipping plane isolines
This commit is contained in:
parent
2303025c3f
commit
aeea67bc09
@ -1113,6 +1113,7 @@ namespace netgen
|
|||||||
bool drawelem;
|
bool drawelem;
|
||||||
|
|
||||||
glNormal3d (-clipplane[0], -clipplane[1], -clipplane[2]);
|
glNormal3d (-clipplane[0], -clipplane[1], -clipplane[2]);
|
||||||
|
glBegin (GL_LINES);
|
||||||
|
|
||||||
if (numisolines)
|
if (numisolines)
|
||||||
for (int i = 0; i < cpt.Size(); i++)
|
for (int i = 0; i < cpt.Size(); i++)
|
||||||
@ -1129,13 +1130,11 @@ namespace netgen
|
|||||||
DrawIsoLines (pts[trig.points[0].pnr].p,
|
DrawIsoLines (pts[trig.points[0].pnr].p,
|
||||||
pts[trig.points[1].pnr].p,
|
pts[trig.points[1].pnr].p,
|
||||||
pts[trig.points[2].pnr].p,
|
pts[trig.points[2].pnr].p,
|
||||||
// trig.points[1].p,
|
|
||||||
// trig.points[2].p,
|
|
||||||
vali[0], vali[1], vali[2]);
|
vali[0], vali[1], vali[2]);
|
||||||
}
|
}
|
||||||
|
glEnd();
|
||||||
glEndList ();
|
glEndList ();
|
||||||
}
|
}
|
||||||
glEnd();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
clipplanetimestamp = max2 (vispar.clipping.timestamp, solutiontimestamp);
|
clipplanetimestamp = max2 (vispar.clipping.timestamp, solutiontimestamp);
|
||||||
|
Loading…
Reference in New Issue
Block a user