mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
yet another fix. rhombic not work
This commit is contained in:
parent
1cc26a7337
commit
40a28b6f08
@ -654,7 +654,8 @@ namespace euclid3 {
|
||||
transmatrix warppush(coord dif) {
|
||||
auto v = getcoord(dif);
|
||||
for(int i: {0, 1})
|
||||
v[i] = gmod(v[i] + T0[i][i] / 2, T0[i][i]) - T0[i][i] / 2;
|
||||
if(T0[i][i])
|
||||
v[i] = gmod(v[i] + T0[i][i] / 2, T0[i][i]) - T0[i][i] / 2;
|
||||
return eupush3(v[0], v[1], v[2]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user