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

Replace Curve with Curve/GlobalCurve/CurveKind #900

Merged
merged 12 commits into from
Aug 1, 2022
Merged

Replace Curve with Curve/GlobalCurve/CurveKind #900

merged 12 commits into from
Aug 1, 2022

Conversation

hannobraun
Copy link
Owner

This brings curves in line with the way vertices already work. It also makes code that has to handle curves in multiple forms a bit easier.

It's unfortunate that this introduces the redundancy between the CurveKinds of Curve and GlobalCurve, but I don't think it is a problem right now. If it becomes one, it can be handled with validation (which it should be eventually anyways). Long-term, I can imagine that CurveKind won't be a thing any more, because every curve will be a b-spline, but we'll see how that's going to develop.

@hannobraun hannobraun enabled auto-merge August 1, 2022 16:02
@hannobraun hannobraun merged commit 203c5d6 into main Aug 1, 2022
@hannobraun hannobraun deleted the curve branch August 1, 2022 16:17
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