Quality Software

- Temporary hotfix to Ponder block breaking animations
This commit is contained in:
simibubi 2021-04-16 01:57:43 +02:00
parent 6db763ed5d
commit 8a41cd57b0

View file

@ -449,7 +449,8 @@ public class PonderScene {
} else {
// For block breaking overlay; Don't ask
ms.scale(f, f, f);
ms.translate(0.525, .2975, .9);
if (f == 30)
ms.translate(0.525, .2975, .9);
ms.translate((basePlateSize + basePlateOffsetX) / -2f, -yOffset,
(basePlateSize + basePlateOffsetZ) / -2f);
float y = (float) (0.5065 * Math.pow(2.2975, Math.log(1 / scaleFactor) / Math.log(2))) / 30;