Juice tweaks

This commit is contained in:
Nikita Lisitsa 2024-08-19 18:12:25 +03:00
parent c5e7f73fa6
commit 2ffbbfa5af

View file

@ -832,7 +832,7 @@ namespace gmtk
map.world.apply<vertex const, transformer const>([&](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);
});