diff --git a/drawing.cpp b/drawing.cpp index f0831ed0..7d92bed2 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -313,12 +313,11 @@ EX bool two_sided_model() { #endif if(GDIM == 3) return false; if(in_vr_sphere) return true; - if(models::is_hyperboloid(pmodel)) return !euclid && !in_vr; + if(pmodel == mdHemisphere || pmodel == mdHyperboloid) return !euclid && !in_vr; // if(pmodel == mdHemisphere) return true; if(pmodel == mdDisk) return sphere || (hyperbolic && pconf.alpha < 0 && pconf.alpha > -1); if(pmodel == mdRetroLittrow) return sphere; if(pmodel == mdRetroHammer) return sphere; - if(pmodel == mdHemisphere) return !in_vr; if(pmodel == mdRotatedHyperboles) return true; if(pmodel == mdSpiral && pconf.spiral_cone < 360) return true; return false; diff --git a/hypgraph.cpp b/hypgraph.cpp index 1b942212..ad23d25b 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -2924,6 +2924,14 @@ EX void draw_boundary(int w) { queuecurve(shiftless(Id), lc, fc, p); } } + if(sphere) { + queuereset(mdPixel, p); + for(int i=0; i<=360; i++) { + curvepoint(point3(current_display->radius * cos(i * degree)/3, current_display->radius * sin(i * degree)/3, 0)); + } + queuecurve(shiftless(Id), lc, fc, p); + queuereset(pmodel, p); + } return; }