From a439b16602e94be3557e0b96c78dd569183006c8 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 25 Aug 2022 01:05:58 +0200 Subject: [PATCH] dont generate horos in hrmap_h3 --- bigstuff.cpp | 3 ++- reg3.cpp | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bigstuff.cpp b/bigstuff.cpp index 1d26a052..3274d6f5 100644 --- a/bigstuff.cpp +++ b/bigstuff.cpp @@ -1369,8 +1369,9 @@ EX int wallchance(cell *c, bool deepOcean) { /** \brief should we generate the horocycles in the current geometry? */ EX bool horo_ok() { - if(INVERSE) return false; + if(INVERSE) return false; if(currentmap->strict_tree_rules()) return true; + if(reg3::in_hrmap_h3() && !PURE) return false; return hyperbolic && !bt::in() && !arcm::in() && !kite::in() && !experimental && !hybri && !arb::in() && !quotient; } diff --git a/reg3.cpp b/reg3.cpp index 039ebd68..db48a559 100644 --- a/reg3.cpp +++ b/reg3.cpp @@ -2485,6 +2485,10 @@ hrmap_h3* hypmap() { return ((hrmap_h3*) currentmap); } +EX bool in_hrmap_h3() { + return dynamic_cast (currentmap); + } + EX int quotient_count() { return isize(hypmap()->quotient_map->allh); }