Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Bezier rendering #80

Open
KyrietS opened this issue Jun 5, 2024 · 0 comments
Open

Improve Bezier rendering #80

KyrietS opened this issue Jun 5, 2024 · 0 comments
Labels
feature New feature improvement Code refactor or minor changes that are not new features

Comments

@KyrietS
Copy link
Owner

KyrietS commented Jun 5, 2024

Look at how Dear ImGui implements Bezier rendering: AddBezierCubic. It uses not only number_of_segments but if it's not provided then CurveTessellationTol tessellation tolerance is used to calculate the right number of segments for bezier. The implementation looks very easy.

@KyrietS KyrietS added improvement Code refactor or minor changes that are not new features feature New feature labels Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature improvement Code refactor or minor changes that are not new features
Projects
None yet
Development

No branches or pull requests

1 participant