1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-16 22:57:38 +00:00

Goldberg-Coxeter construction for order-4 tilings (everything seems to work except distance calculations)

This commit is contained in:
Zeno Rogue
2018-07-10 04:13:35 +02:00
parent a7fa9d7525
commit 5cd8f695a3
5 changed files with 178 additions and 71 deletions

View File

@@ -3319,7 +3319,7 @@ transmatrix master_relative(cell *c, bool get_inverse) {
}
else {
auto li = gp::get_local_info(c);
transmatrix T = spin(master_to_c7_angle()) * gp::Tf[li.last_dir][li.relative.first&31][li.relative.second&31][fix6(li.total_dir)];
transmatrix T = spin(master_to_c7_angle()) * gp::Tf[li.last_dir][li.relative.first&31][li.relative.second&31][gp::fixg6(li.total_dir)];
if(get_inverse) T = inverse(T);
return T;
}