diff --git a/hyper.h b/hyper.h index 279554cc..89d3b904 100644 --- a/hyper.h +++ b/hyper.h @@ -3174,7 +3174,7 @@ static const auto SKIPFAC = .4; bool haveMobileCompass(); bool handleCompass(); -inline bool sphereflipped() { return sphere && vid.alpha > 1.1; } +inline bool sphereflipped() { return sphere && vid.alpha > 1.1 && DIM == 3; } int cellcolor(cell *c); transmatrix screenpos(ld x, ld y); extern ld backbrightness; diff --git a/sphere.cpp b/sphere.cpp index d8b9d525..2022aa37 100644 --- a/sphere.cpp +++ b/sphere.cpp @@ -379,6 +379,7 @@ transmatrix relative_matrix(heptagon *h2, heptagon *h1) { } void draw() { + sphereflip = Id; auto m = (hrmap_spherical3*) currentmap; for(int i=0; i<120; i++) if(m->cells[i])