From 2ffbbfa5af58f2422d36653a0f3f41fddbfba094 Mon Sep 17 00:00:00 2001 From: lisyarus Date: Mon, 19 Aug 2024 18:12:25 +0300 Subject: [PATCH] Juice tweaks --- source/application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/application.cpp b/source/application.cpp index 559cb9d..7faec43 100644 --- a/source/application.cpp +++ b/source/application.cpp @@ -832,7 +832,7 @@ namespace gmtk map.world.apply([&](vertex const & v, transformer const & t) { auto box = v.location.bbox(); - box = geom::expand(box, 0.125f * animation_factor(t.animate)); + box = geom::expand(box, 0.125f * animation_factor(t.animate) * box[0].length()); draw_structure(box, t, painter); });