1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-23 18:07:41 +00:00

replaced some debug printfs with print hlog

This commit is contained in:
Zeno Rogue
2019-05-22 00:03:26 +02:00
parent f7d580fa9c
commit 7d8f48d48b
3 changed files with 4 additions and 4 deletions

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;