mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-08-16 11:38:51 +00:00
hrmap_standard now can be 3D maps
This commit is contained in:
+3
-1
@@ -358,7 +358,9 @@ transmatrix hrmap_standard::adj(cell *c, int i) {
|
||||
else
|
||||
println(hlog, "gpadj not found");
|
||||
}
|
||||
if(NONSTDVAR) return calc_relative_matrix(c->cmove(i), c, C0);
|
||||
if(NONSTDVAR || WDIM == 3) {
|
||||
return calc_relative_matrix(c->cmove(i), c, C0);
|
||||
}
|
||||
double d = cellgfxdist(c, i);
|
||||
transmatrix T = ddspin(c, i) * xpush(d);
|
||||
if(c->c.mirror(i)) T = T * Mirror;
|
||||
|
||||
Reference in New Issue
Block a user