mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 09:30:35 +00:00
fixed the grid in EuclidA4
This commit is contained in:
parent
3c8d4d91b5
commit
51cd3c81aa
@ -4510,11 +4510,11 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
|
|||||||
V * ddspin(c,t,+S14) * xpush0(x),
|
V * ddspin(c,t,+S14) * xpush0(x),
|
||||||
gridcolor(c, c->mov[t]), prec);
|
gridcolor(c, c->mov[t]), prec);
|
||||||
}
|
}
|
||||||
else if(ishept(c) && !euclid) ;
|
else if(ishept(c) && !(euclid&&!a4)) ;
|
||||||
else {
|
else {
|
||||||
double x = hexvdist;
|
double x = hexvdist;
|
||||||
for(int t=0; t< S6; t++)
|
for(int t=0; t< S6; t++)
|
||||||
if(euclid ? c->mov[t]<c : (((t^1)&1) || c->mov[t] < c))
|
if((euclid&&!a4) ? c->mov[t]<c : (((t^1)&1) || c->mov[t] < c))
|
||||||
queueline(V * ddspin(c,t,-S7) * xpush0(x),
|
queueline(V * ddspin(c,t,-S7) * xpush0(x),
|
||||||
V * ddspin(c,t,+S7) * xpush0(x),
|
V * ddspin(c,t,+S7) * xpush0(x),
|
||||||
gridcolor(c, c->mov[t]), prec);
|
gridcolor(c, c->mov[t]), prec);
|
||||||
|
Loading…
Reference in New Issue
Block a user