From c54d01b50c9e62fc7e7b0e54863b2762b71f18c8 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 14 Aug 2018 09:16:30 +0200 Subject: [PATCH] binary:: no spin --- hypgraph.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hypgraph.cpp b/hypgraph.cpp index 6504d614..0fb13b51 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -505,10 +505,12 @@ ld master_to_c7_angle() { transmatrix actualV(const heptspin& hs, const transmatrix& V) { if(irr::on) return V * spin(M_PI + 2 * M_PI / S7 * (hs.spin + irr::periodmap[hs.h].base.spin)); + if(binarytiling) return V; return (hs.spin || nonbitrunc) ? V * spin(hs.spin*2*M_PI/S7 + master_to_c7_angle()) : V; } transmatrix applyspin(const heptspin& hs, const transmatrix& V) { + if(binarytiling) return V; return hs.spin ? V * spin(hs.spin*2*M_PI/S7) : V; }