diff --git a/graph.cpp b/graph.cpp index af14a101..0cd80fc5 100644 --- a/graph.cpp +++ b/graph.cpp @@ -2909,6 +2909,8 @@ void placeSidewall(cell *c, int i, int sidepar, const transmatrix& V, bool warp, transmatrix V2 = V * ddspin(c, i); + // if(sphere && vid.alphax <= 1 && tC0(V2 * xpush(cellgfxdist(c, i)/2))[2] < -.5) return; + /* int aw = away(V2); prio += aw; if(!detaillevel && aw < 0) return; */ diff --git a/hyper.h b/hyper.h index 667bb712..8a7a3b30 100644 --- a/hyper.h +++ b/hyper.h @@ -1602,3 +1602,5 @@ extern int stampbase; transmatrix cellrelmatrix(cell *c, int i); void terracottaAround(cell *c); + +double cellgfxdist(cell *c, int i);