tmp update
This commit is contained in:
		| @@ -197,7 +197,7 @@ void make_delaunay(triangle *t) | ||||
| 					dist = (t->cx - n_vert->x) * (t->cx - n_vert->x) +  | ||||
| 						(t->cy - n_vert->y) * (t->cy - n_vert->y); | ||||
|  | ||||
| 					if ((dist - t->cr) <= ZERO) // need to be flipped | ||||
| 					if ((dist - t->cr) < -1.0*ZERO) // need to be flipped | ||||
| 					{ | ||||
| 						flip_neighboring_triangles(t, n_tri, n, v); | ||||
| 						// Make sure the triangles also meet the empty circumcircle condition after flipping | ||||
|   | ||||
		Reference in New Issue
	
	Block a user