From f18d51d4dff5a1238bd29f04e9faa8dcde617264 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 9 Dec 2017 20:02:36 +0100 Subject: [PATCH] removed the debug strings regarding geometry --- geometry.cpp | 5 +++-- polygons.cpp | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/geometry.cpp b/geometry.cpp index 8964144a..79d1ae23 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -3,6 +3,7 @@ // Copyright (C) 2011-2012 Zeno Rogue, see 'hyper.cpp' for details +bool debug_geometry = false; ld tessf, crossf, hexf, hcrossf, hexhexdist, hexvdist, hepvdist, rhexf; @@ -130,9 +131,9 @@ void precalc() { hexvdist = hdist(tC0(xpush(hexf)), spin(ALPHA/2) * tC0(xpush(hcrossf))); + if(debug_geometry) printf("S7=%d S6=%d hexf = " LDF" hcross = " LDF" tessf = " LDF" hexshift = " LDF " hexhex = " LDF " hexv = " LDF "\n", S7, S6, hexf, hcrossf, tessf, hexshift, - hexhexdist, hexvdist); - + hexhexdist, hexvdist); for(int i=0; i