1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

mzscale in 3D no longer tries to do weird things

This commit is contained in:
Zeno Rogue 2019-03-23 16:31:29 +01:00
parent 62d115b007
commit 3508a42efc

View File

@ -639,6 +639,7 @@ transmatrix xyzscale(const transmatrix& t, double fac, double facz) {
// double downspin_zivory;
transmatrix mzscale(const transmatrix& t, double fac) {
if(DIM == 3) return t * cpush(2, fac);
// take only the spin
transmatrix tcentered = gpushxto0(tC0(t)) * t;
// tcentered = tcentered * spin(downspin_zivory);