Skip to content

Commit

Permalink
Fix straight lines being detected as cusps
Browse files Browse the repository at this point in the history
The math for cusp detection on lines was getting unstable on legitimate lines with no inflections. Check if the points in the line are ordered first (and therefore definitely do not have cusps) before running through the math.

Diffs=
4f4e07a68b Fix straight lines being detected as cusps (#8790)
  • Loading branch information
csmartdalton committed Dec 21, 2024
1 parent 07587ed commit 6dbfc1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
11d4e46498b239fd56c15edcfe2c9d3e752e12cc
4f4e07a68b9e9979532fcc932ced558f3f8e1047
2 changes: 1 addition & 1 deletion submodules/rive-cpp

0 comments on commit 6dbfc1b

Please sign in to comment.