Skip to content

Add easing::byName for runtime easing selection - #51

Merged
mobius3 merged 2 commits into
masterfrom
add-easingByName
Aug 3, 2026
Merged

Add easing::byName for runtime easing selection#51
mobius3 merged 2 commits into
masterfrom
add-easingByName

Conversation

@mobius3

@mobius3 mobius3 commented Aug 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add tweeny::easing::byName(std::string_view) returning an id-backed callable that forwards to bundled easings
  • Unknown names throw std::invalid_argument at byName() time (no string via restored)
  • Bump version to 4.1.0 and document in CHANGELOG

Test plan

  • ctest -R byName — all 4 cases pass (cubicInOut match, via(linear) match, unknown throws, int values)
  • CI green on the PR

@mobius3
mobius3 merged commit 68a7f44 into master Aug 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant