-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
the previous lerp implementation could cause in certain scenarios that if t = 1, the output would be different than the input. Because of floating point precision, `a - (b - a)` wasn't guaranteed to return `b`. Down the line, when using trim paths for example, this small difference could cause the path not to draw properly. Changing it to this implementation solves the issue. Diffs= 1be3488d52 change lerp (#9000) Co-authored-by: hernan <[email protected]>
- Loading branch information
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
19b64a2c1bbe9d0e1e7166b3290e34e3e291b018 | ||
1be3488d52ec4c2f32a03eb111afca5b1f01ecd8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters