mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 06:05:58 -06:00
[PR #267] Core: Lerp overload with custom easing function #277
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ultimatepp#277
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ultimatepp/ultimatepp/pull/267
Author: @ismail-yilmaz
Created: 5/6/2025
Status: 🔄 Open
Base:
master← Head:lerp_iteration📝 Commits (2)
55a238cCore: Lerp overload with custom easing function59c9e5fMerge branch 'ultimatepp:master' into lerp_iteration📊 Changes
2 files changed (+29 additions, -2 deletions)
View changed files
📝
uppsrc/Core/Util.h(+11 -1)📝
uppsrc/Core/src.tpp/MathUtil_en-us.tpp(+18 -1)📄 Description
This PR does two things:
constexprand marks it withnoexceptAn example easing function (bounce out) can look like this:
This patch does and should not break anything.
P.s.: While the C++17 standard implicity assumes that a constexpr function is hinting inline, I explicitly added them for clarity.
Please review.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.