mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-05-30 01:12:12 +00:00
SLR works with Archimedean
This commit is contained in:
+2
-1
@@ -1103,7 +1103,8 @@ EX namespace slr {
|
||||
transmatrix relative_matrix(cell *c1, int i) {
|
||||
if(i == c1->type-2) return zpush(-cgi.plevel) * spin(-2*cgi.plevel);
|
||||
if(i == c1->type-1) return zpush(+cgi.plevel) * spin(+2*cgi.plevel);
|
||||
if(PURE && !archimedean) {
|
||||
if(PURE && hybrid::underlying != gArchimedean) {
|
||||
/* todo: always do something like this! */
|
||||
int j = c1->c.spin(i);
|
||||
ld A = master_to_c7_angle();
|
||||
transmatrix Q = spin(-A + 2 * M_PI * i / S7) * xpush(cgi.tessf) * spin(M_PI - 2 * M_PI * j / S7 + A);
|
||||
|
||||
Reference in New Issue
Block a user