From 2710694df70ea9699e323f10b7a92fc75c690205 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 29 Apr 2019 03:38:12 +0200 Subject: [PATCH] unused applyspin function removed --- hyper.h | 1 - hypgraph.cpp | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/hyper.h b/hyper.h index f5e1b733..e9606770 100644 --- a/hyper.h +++ b/hyper.h @@ -3491,7 +3491,6 @@ inline hyperpoint tC0(const transmatrix &T) { } transmatrix actualV(const heptspin& hs, const transmatrix& V); -transmatrix applyspin(const heptspin& hs, const transmatrix& V); transmatrix cview(); bool isWall3(cell *c, color_t& wcol); extern transmatrix actual_view_transform; diff --git a/hypgraph.cpp b/hypgraph.cpp index 7258d8d0..9f8471a7 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -776,16 +776,6 @@ transmatrix actualV(const heptspin& hs, const transmatrix& V) { return (hs.spin || !BITRUNCATED) ? V * spin(hs.spin*2*M_PI/S7 + master_to_c7_angle()) : V; } -transmatrix applyspin(const heptspin& hs, const transmatrix& V) { - #if CAP_BT - if(binarytiling) return V; - #endif - #if CAP_ARCM - if(archimedean) return V * spin(arcm::current.triangles[arcm::id_of(hs.at)][hs.spin].first); - #endif - return hs.spin ? V * spin(hs.spin*2*M_PI/S7) : V; - } - bool invis_point(const hyperpoint h) { if(DIM == 2 || sphere || pmodel != mdPerspective) return false; return h[2] < 0;