Skip to content

Simplify Bezier-rs using poly-cool as the root finder#3031

Merged
Keavon merged 6 commits intoGraphiteEditor:masterfrom
jneem:poly-cool
Aug 13, 2025
Merged

Simplify Bezier-rs using poly-cool as the root finder#3031
Keavon merged 6 commits intoGraphiteEditor:masterfrom
jneem:poly-cool

Conversation

@jneem
Copy link
Copy Markdown
Contributor

@jneem jneem commented Aug 8, 2025

This removes symmetrical_basis, which was publicly exported, and so it's a breaking change.

The big caveat here is that poly-cool is not thoroughly tested. I plan to do that next, though, and I think any issues should be fixable without breaking semver compatibility.

documentation = "https://graphite.rs/libraries/bezier-rs/"

[features]
std = ["glam/std"]
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I needed this to run just the bezier-rs tests (with cargo test -p bezier-rs --features=std), because without it there were lots of undefined references to math functions.

Comment thread libraries/bezier-rs/src/bezier/lookup.rs
Copy link
Copy Markdown
Member

@Keavon Keavon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@Keavon Keavon changed the title Use poly-cool as the root finder in bezier-rs Use poly-cool as the root finder in Bezier-rs Aug 13, 2025
@Keavon Keavon changed the title Use poly-cool as the root finder in Bezier-rs Simplify Bezier-rs using poly-cool as the root finder Aug 13, 2025
@Keavon Keavon enabled auto-merge (squash) August 13, 2025 19:06
@Keavon Keavon merged commit 6c3b7b2 into GraphiteEditor:master Aug 13, 2025
4 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.

2 participants