From 106d9a08ddf1f57e3f873bdd2e1118527d70844a Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 27 Jun 2024 22:32:32 +0200 Subject: [PATCH] fixed the lines in hyperboloid model --- hypgraph.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hypgraph.cpp b/hypgraph.cpp index 9386b005..855e18af 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -2689,7 +2689,7 @@ EX void draw_model_elements() { ld cb = pconf.ball() [1][1]; ld sb = pconf.ball() [1][2]; - a[1] = sb * a[2] / -cb; + a[1] = sb * a[2] / cb; a[0] = sqrt(-1 + a[2] * a[2] - a[1] * a[1]); curvepoint(point3(0,0,-pconf.alpha)); @@ -2704,7 +2704,7 @@ EX void draw_model_elements() { curvepoint(point3(1,0,0)); queuecurve(shiftless(Id), ringcolor, 0, PPR::CIRCLE); - a[1] = sb * tz / -cb; + a[1] = sb * tz / cb; a[0] = sqrt(tz * tz - a[1] * a[1]); a[2] = tz - pconf.alpha;