From 5419a816da70b3ff9d53002edf01f42d45397434 Mon Sep 17 00:00:00 2001 From: lisyarus Date: Tue, 20 Aug 2024 13:17:27 +0300 Subject: [PATCH] Tweak reshaper model --- source/application.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/application.cpp b/source/application.cpp index 414d293..1bb0629 100644 --- a/source/application.cpp +++ b/source/application.cpp @@ -877,7 +877,8 @@ namespace gmtk float s = bbox[0].length() * 0.025f; - for (int k = 0; k < 2; ++k) + // for (int k = 0; k < 2; ++k) + for (int k = 1; k < 2; ++k) { geom::point points[] { @@ -1026,8 +1027,8 @@ namespace gmtk case card_type::hue_shifter: { float animate = 0.f; - // if (type == card_type::reshaper) - // animate = 0.875f; + if (type == card_type::reshaper) + animate = 0.875f; draw_structure(bbox, transformer{.type = card_to_transformer(type).value(), .animate = animate}, painter); } break;