Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit test for easing function #608

Merged

Commits on Apr 29, 2021

  1. add : unit test "TWEEN.Easing should starts at 0.0, ends at 1.0. TWEE…

    …N.Easing.InOut() should be 0.5 at midpoint"
    MasatoMakino committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    6a7dff3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2c52499 View commit details
    Browse the repository at this point in the history
  3. fix : easing functions it not pass 0.0, 1.0 and 0.5

    Back.in() and Back.Out() now have limits. Sinusoidal.In() and .InOut() are replaced with Math.sin from Math.cos. Because 1 - Math.cos(Math.PI / 2) = 0.99999999999
    and it does not snap to 1.
    MasatoMakino committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    273520d View commit details
    Browse the repository at this point in the history