From c853d9d7b40e6de735198d248c2dce2ca053e81a Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 28 Jun 2024 14:01:16 +0200 Subject: [PATCH] fixed hemisphere+sphere lines --- hypgraph.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hypgraph.cpp b/hypgraph.cpp index 7032c7df..d45961bb 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -2691,6 +2691,8 @@ EX void draw_model_elements() { hyperpoint a = xpush0(z); ld cb = pconf.ball() [1][1]; ld sb = pconf.ball() [1][2]; + + if(pmodel == mdHemisphere && sphere) cb = -cb; a[1] = sb * a[2] / cb; a[0] = sqrt(-1 + a[2] * a[2] - a[1] * a[1]);