don't display 'bad end'

This commit is contained in:
Zeno Rogue 2017-11-03 19:34:51 +01:00
parent ae12c9f7a6
commit 1e4df087c2
1 changed files with 2 additions and 2 deletions

View File

@ -873,9 +873,9 @@ void finishshape() {
for(int i=last->s; i<last->e-1; i++)
area += hpc[i][0] * hpc[i+1][1] - hpc[i+1][0] * hpc[i][1];
if(area >= 0) last->flags |= POLY_INVERSE;
if(isnan(area)) ;
/* if(isnan(area)) ;
else if(intval(hpc[last->s], hpc[last->e-1]) > 1e-6)
printf("bad end\n");
printf("bad end\n"); */
}
void bshape(hpcshape& sh, int p) {