1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-13 17:06:52 +00:00

reverted change in zshift

This commit is contained in:
Zeno Rogue 2019-05-29 01:02:58 +02:00
parent 13a044154b
commit f2d8378d0c

View File

@ -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);
}