Skip to content

Comments

Speed up cubic bézier flattening#938

Merged
nical merged 3 commits intomainfrom
wang-lut
Sep 21, 2025
Merged

Speed up cubic bézier flattening#938
nical merged 3 commits intomainfrom
wang-lut

Conversation

@nical
Copy link
Owner

@nical nical commented Sep 18, 2025

This replaces a couple of square roots with a lookup table in Wang's formula, and uses the same trick for the powf(1/6) in the quadratic bézier approximation.

@nical nical merged commit 25fd95f into main Sep 21, 2025
3 checks passed
@nical nical deleted the wang-lut branch September 21, 2025 06:35
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.

1 participant