mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-16 14:47:39 +00:00
mzscale in 3D no longer tries to do weird things
This commit is contained in:
@@ -639,6 +639,7 @@ transmatrix xyzscale(const transmatrix& t, double fac, double facz) {
|
|||||||
// double downspin_zivory;
|
// double downspin_zivory;
|
||||||
|
|
||||||
transmatrix mzscale(const transmatrix& t, double fac) {
|
transmatrix mzscale(const transmatrix& t, double fac) {
|
||||||
|
if(DIM == 3) return t * cpush(2, fac);
|
||||||
// take only the spin
|
// take only the spin
|
||||||
transmatrix tcentered = gpushxto0(tC0(t)) * t;
|
transmatrix tcentered = gpushxto0(tC0(t)) * t;
|
||||||
// tcentered = tcentered * spin(downspin_zivory);
|
// tcentered = tcentered * spin(downspin_zivory);
|
||||||
|
Reference in New Issue
Block a user