mirror of https://github.com/vitalif/openscad
Clifford Wolf:
Disabled dxftess.cc debug output git-svn-id: http://svn.clifford.at/openscad/trunk@221 b57f626f-c46c-0410-a088-ec61d464b74cstl_dim
parent
6fdfde289b
commit
9326da227b
|
@ -253,7 +253,7 @@ void dxf_tesselate(PolySet *ps, DxfData *dxf, double rot, bool up, bool do_trian
|
|||
gluTessEndPolygon(tobj);
|
||||
gluDeleteTess(tobj);
|
||||
|
||||
#if 1
|
||||
#if 0
|
||||
for (int i = 0; i < tess_tri.count(); i++) {
|
||||
printf("~~~\n");
|
||||
printf(" %f %f %f\n", tess_tri[i].p[0][0], tess_tri[i].p[0][1], tess_tri[i].p[0][2]);
|
||||
|
@ -268,7 +268,7 @@ void dxf_tesselate(PolySet *ps, DxfData *dxf, double rot, bool up, bool do_trian
|
|||
if (point_on_line(tess_tri[i].p[0], tess_tri[i].p[1], tess_tri[i].p[2]) ||
|
||||
point_on_line(tess_tri[i].p[1], tess_tri[i].p[2], tess_tri[i].p[0]) ||
|
||||
point_on_line(tess_tri[i].p[2], tess_tri[i].p[0], tess_tri[i].p[1])) {
|
||||
printf("DEBUG: Removed triangle\n");
|
||||
// printf("DEBUG: Removed triangle\n");
|
||||
tess_tri.remove(i--);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue