mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-28 19:10:35 +00:00
don't display 'bad end'
This commit is contained in:
parent
ae12c9f7a6
commit
1e4df087c2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user