You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There is an error in the function implementation of "SinusoidalCenter" that caused the output to be abnormal when the input was greater than 0.5
To Reproduce
Steps to reproduce the behavior:
In the file "src/internal/animations/NeoEase.h", line 214. In the function "SinusoidalCenter", I think there is an extra parenthesis in the
code "return (-0.5f * (cos(PI * (unitValue-0.5f)) + 1.0f));", I think the correct one is "return (-0.5f * cos(PI * (unitValue - 0.5f)) + 1.0f);"
Expected behavior
I think the correct one is "return (-0.5f * cos(PI * (unitValue - 0.5f)) + 1.0f);", according to the picture "sinusoidal.png"
Development environment (please complete the following information):
Library version V2.8.0
The text was updated successfully, but these errors were encountered:
Describe the bug
There is an error in the function implementation of "SinusoidalCenter" that caused the output to be abnormal when the input was greater than 0.5
To Reproduce
Steps to reproduce the behavior:
In the file "src/internal/animations/NeoEase.h", line 214. In the function "SinusoidalCenter", I think there is an extra parenthesis in the
code "return (-0.5f * (cos(PI * (unitValue-0.5f)) + 1.0f));", I think the correct one is "return (-0.5f * cos(PI * (unitValue - 0.5f)) + 1.0f);"
Expected behavior
I think the correct one is "return (-0.5f * cos(PI * (unitValue - 0.5f)) + 1.0f);", according to the picture "sinusoidal.png"
Development environment (please complete the following information):
The text was updated successfully, but these errors were encountered: