From 4685c3e7337821a9bf38f01e71f9cbec999301e8 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 28 Jun 2024 00:00:33 +0200 Subject: [PATCH] hemisphere consistent with hyperboloid --- drawing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drawing.cpp b/drawing.cpp index 09b7d595..e9b13163 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -360,7 +360,7 @@ EX int get_side(const hyperpoint& H) { if(pmodel == mdHemisphere && !sphere) { hyperpoint res; applymodel(shiftless(H), res); - return res[2] < 0 ? -1 : 1; + return res[2] < 0 ? 1 : -1; } if(pmodel == mdHemisphere && sphere) { auto H1 = H;