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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user