mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
3d:: fixed cellgfxdist in 3D
This commit is contained in:
parent
c90eeccbbe
commit
6fe6db3d48
@ -391,7 +391,7 @@ double cellgfxdist(cell *c, int i) {
|
||||
if(c->type == 8 && (i&1)) return crossf * sqrt(2);
|
||||
return crossf;
|
||||
}
|
||||
if(NONSTDVAR || archimedean) return hdist0(tC0(calc_relative_matrix(c->move(i), c, i)));
|
||||
if(NONSTDVAR || archimedean || WDIM == 3) return hdist0(tC0(calc_relative_matrix(c->move(i), c, i)));
|
||||
return !BITRUNCATED ? tessf : (c->type == 6 && (i&1)) ? hexhexdist : crossf;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user