replaced some debug printfs with print hlog

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:50:02 +02:00
1 parent f7d580fa9c
commit 7d8f48d48b
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -1857,7 +1857,7 @@ void finishshape() {
if(asign(y1, y2)) {
ld x = xcross(x1, y1, x2, y2);
if(abs(x) < 1e-3 && !(last->flags & POLY_ISSIDE)) {
if(s >= 2 && DIM == 2) printf("close call [%d], x = %lf\n", s, x);
if(s >= 2 && DIM == 2) println(hlog, "close call [", s, "], x = ", fts(x));
last->flags |= POLY_BADCENTERIN;
}
if(x < 0) last->flags ^= POLY_CENTERIN;