-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle NaN in PLS paths and transforms
Remove an assertion from Mat2D::mapBoundingBox() and instead make it explicitly return {0} when the points are empty or all NaN. Introduce a "clipIsEmpty" boolean to the render stack so we can bail from draws early when the clip has NaN or empty paths. In the future we can take further advantage of this feature by marking the clip stack empty when its elements have an empty intersection. Diffs= 7d0125c92 Handle NaN in PLS paths and transforms (#7176)
- Loading branch information
csmartdalton
committed
May 1, 2024
1 parent
e93ecfa
commit 5248a0f
Showing
3 changed files
with
3 additions
and
3 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 @@ | ||
e96739328b7eb82870c5a642f6e3213c7b423d51 | ||
7d0125c9256d329a11844184e6cd1244f3496012 |
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 @@ | ||
d0bfcdc894a3696b269f317b7ebe14357c7eff49 | ||
300ea32b1b2badfcd66db4608a8cf4be0e731238 |
Submodule rive-cpp
updated
6 files
+1 −1 | .rive_head | |
+6 −0 | include/rive/math/aabb.hpp | |
+2 −1 | include/rive/math/mat2d.hpp | |
+10 −9 | src/math/mat2d.cpp | |
+20 −0 | test/aabb_test.cpp | |
+12 −0 | test/mat2d_test.cpp |