From a0574d159fb99dd771c2ec78e030064215583f29 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 1 Nov 2020 11:32:12 +0100 Subject: [PATCH] support for quotient spaces with S3 > 4 --- heptagon.cpp | 5 +++++ hypgraph.cpp | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/heptagon.cpp b/heptagon.cpp index 810ae44e..8a3a4d58 100644 --- a/heptagon.cpp +++ b/heptagon.cpp @@ -279,6 +279,11 @@ heptagon *hrmap_standard::create_step(heptagon *h, int d) { else buildHeptagon(h, d, transition(h->s, d)); } + else if(S3 > 4) { + /* wrong */ + h->move(d) = h; + // buildHeptagon(h, d, transition(h->s, d)); + } else if(d == 1) { addSpin(h, d, h->move(0), h->c.spin(0)-1, -1); } diff --git a/hypgraph.cpp b/hypgraph.cpp index 083fec01..1b6076f8 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -1532,6 +1532,10 @@ void hrmap::draw_at(cell *at, const shiftmatrix& where) { } void hrmap_standard::draw_at(cell *at, const shiftmatrix& where) { + if(S3 > 4) { + hrmap::draw_at(at, where); + return; + } drawn_cells.clear(); drawn_cells.emplace_back(at->master, hsOrigin, where * master_relative(at, true)); for(int i=0; i