mean curvature success

This commit is contained in:
James E McClure 2018-09-15 11:09:39 -04:00
parent 130b2f823a
commit 5272b7ff47

View File

@ -414,7 +414,7 @@ double DECL::EdgeAngle(int edge)
//length = sqrt(nx*nx+ny*ny+nz*nz);
Point w=0.5*(P+Q)-R;
if (W.x*w.x + W.y*w.y + W.z*w.z < 0.f){
printf("flip edge normal \n");
//printf("flip edge normal \n");
W.x = -W.x;
W.y = -W.y;
W.z = -W.z;