mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-22 23:17:04 +00:00
unused applyspin function removed
This commit is contained in:
parent
f65c8d5dc8
commit
2710694df7
1
hyper.h
1
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;
|
||||
|
10
hypgraph.cpp
10
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;
|
||||
|
Loading…
Reference in New Issue
Block a user