factor of two

This commit is contained in:
James E McClure 2018-09-15 09:47:32 -04:00
parent 1abc7b2e25
commit a3c79d126f

View File

@ -415,7 +415,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;