mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
reverted change in zshift
This commit is contained in:
parent
13a044154b
commit
f2d8378d0c
@ -778,7 +778,7 @@ hyperpoint orthogonal_of_C0(hyperpoint h0, hyperpoint h1, hyperpoint h2) {
|
||||
}
|
||||
|
||||
hyperpoint zshift(hyperpoint x, ld z) {
|
||||
if(DIM == 3 && WDIM == 2) return orthogonal_move(x, z);
|
||||
if(DIM == 3 && WDIM == 2) return rgpushxto0(x) * cpush0(2, z);
|
||||
else return mscale(x, z);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user