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

No commit message

No commit message
parent 7b9db57d
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ void MQuadrangle::getEdgeRep(bool curved, int num, double *x, double *y, double
MVertex *v1 = _v[edges_quad(num, 1)];
x[0] = v0->x(); y[0] = v0->y(); z[0] = v0->z();
x[1] = v1->x(); y[1] = v1->y(); z[1] = v1->z();
if(CTX::instance()->mesh.lightLines > 1){
if(CTX::instance()->mesh.lightLines){
static const int vv[4] = {2, 3, 0, 1};
MVertex *v2 = _v[vv[num]];
SVector3 t1(x[1] - x[0], y[1] - y[0], z[1] - z[0]);
......
......@@ -27,7 +27,7 @@ void MTriangle::getEdgeRep(bool curved, int num, double *x, double *y, double *z
MVertex *v1 = _v[edges_tri(num, 1)];
x[0] = v0->x(); y[0] = v0->y(); z[0] = v0->z();
x[1] = v1->x(); y[1] = v1->y(); z[1] = v1->z();
if(CTX::instance()->mesh.lightLines > 1){
if(CTX::instance()->mesh.lightLines){
static const int vv[3] = {2, 0, 1};
MVertex *v2 = _v[vv[num]];
SVector3 t1(x[1] - x[0], y[1] - y[0], z[1] - z[0]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment