1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-22 14:02:05 +00:00

twisting fix

This commit is contained in:
Zeno Rogue
2019-04-16 03:22:52 +02:00
parent c0145c0d9c
commit 1cc26a7337
3 changed files with 138 additions and 9 deletions
+1 -1
View File
@@ -1190,7 +1190,7 @@ void optimizeview() {
heptagon *h2 = createStep(viewctr.at, i1);
transmatrix T = currentmap->relative_matrix(h2, viewctr.at);
if(euclid && DIM == 3)
T = euclid3::move_matrix(i);
T = euclid3::move_matrix(viewctr.at->c7, i);
hyperpoint H = View * tC0(T);
ld quality = hdist0(H);
if(quality < best) best = quality, turn = i1, TB = T;