removed the debug strings regarding geometry

This commit is contained in:
Zeno Rogue 2017-12-09 20:02:36 +01:00
parent 05843b4e20
commit f18d51d4df
2 changed files with 4 additions and 3 deletions

View File

@ -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<S84; i++) spinmatrix[i] = spin(i * M_PI / S42);
}

View File

@ -2160,7 +2160,7 @@ void buildpolys() {
}
static int qhpc0;
if(qhpc != qhpc0)
if(qhpc != qhpc0 && debug_geometry)
printf("qhpc = %d (%d+%d)\n", qhpc0 = qhpc, prehpc, qhpc-prehpc);
initPolyForGL();