unused applyspin function removed

This commit is contained in:
Zeno Rogue 2019-04-29 03:38:12 +02:00
parent f65c8d5dc8
commit 2710694df7
2 changed files with 0 additions and 11 deletions

View File

@ -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;

View File

@ -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;