1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-27 11:57:40 +00:00

all Mobius bands implemented

This commit is contained in:
Zeno Rogue
2018-11-27 16:17:20 +01:00
parent e5ebac156e
commit f2ee616eab
6 changed files with 135 additions and 34 deletions

View File

@@ -225,6 +225,7 @@ void virtualRebase(cell*& base, T& at, bool tohex, const U& check) {
if(euclid || sphere) {
again:
if(euwrap) for(int i=0; i<6; i++) {
// fix cylinder and square grid
auto newat = eumovedir(3+i) * at;
if(hdist0(check(newat)) < hdist0(check(at))) {
at = newat;