Tweak reshaper model

This commit is contained in:
Nikita Lisitsa 2024-08-20 13:17:27 +03:00
parent 6a0087da18
commit 5419a816da

View file

@ -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<float, 2> 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;