From e8a462da0ed88d6edbc5165f50e31b12a508240e Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 28 Jul 2020 17:08:13 +0200 Subject: [PATCH] fixed pushdown --- graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graph.cpp b/graph.cpp index b54f33c7..e9a27f11 100644 --- a/graph.cpp +++ b/graph.cpp @@ -3476,7 +3476,7 @@ EX void pushdown(cell *c, int& q, const shiftmatrix &V, double down, bool rezoom // xyscale = xyscale + (zscale-xyscale) * (1+sin(ticks / 1000.0)) / 2; ptd.V.T = xyzscale( V.T, xyscale*zscale, zscale) - * V.T * ptd.V.T; + * inverse(V.T) * unshift(ptd.V, V.shift); if(!repriority) ; else if(nlev < -vid.lake_bottom-1e-3) {