File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -621,9 +621,9 @@ void Attachment::updateGraphics(float dt)
621
621
{
622
622
const float progress = 1 .0f - scale_ratio;
623
623
624
- const float x = 0 .2f * atan (25 .0f * progress - 5 .0f ) + 0 .69f ;
624
+ const float x = 0 .2f * atan (20 .0f * progress - 5 .0f ) + 0 .7f ;
625
625
const float y = x;
626
- const float z = 1 .0f - pow (2 .0f , -20 .f * progress);
626
+ const float z = 1 .0f - pow (2 .0f , -15 .f * progress);
627
627
628
628
m_node->setScale (core::vector3df (x * wanted_node_scale,
629
629
y * wanted_node_scale,
@@ -638,7 +638,7 @@ void Attachment::updateGraphics(float dt)
638
638
const float x = scale_ratio;
639
639
640
640
scale_ratio = x <= 0 ? 0 : x >= 1 ? 1
641
- : -pow (2 , 10 * x - 10 ) * sin ((x * 10 - 10 .75 ) * c4);
641
+ : -pow (2 , 8 * x - 8 ) * sin ((x * 8 - 8 .75 ) * c4);
642
642
}
643
643
644
644
float scale = 0 .3f * scale_ratio +
You can’t perform that action at this time.
0 commit comments