mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-30 17:02:51 +00:00
fixed eupattern in EuclidA4
This commit is contained in:
parent
51cd3c81aa
commit
1c3f8ac36a
@ -7,7 +7,7 @@ int eupattern(cell *c) {
|
|||||||
if(torus) return (decodeId(c->master)*2) % 3;
|
if(torus) return (decodeId(c->master)*2) % 3;
|
||||||
eucoord x, y;
|
eucoord x, y;
|
||||||
decodeMaster(c->master, x, y);
|
decodeMaster(c->master, x, y);
|
||||||
return ((x&1) - (y&1)) % 3;
|
return ((x&1) + 2*(y&1)) % 3;
|
||||||
}
|
}
|
||||||
if(torus) return (decodeId(c->master)*2) % 3;
|
if(torus) return (decodeId(c->master)*2) % 3;
|
||||||
eucoord x, y;
|
eucoord x, y;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user