-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Path enum no longer includes BasePath
BasePath is a pair of points and geometry metadata. Previously BasePath was used for: - The start of a sketch - The data which all path types have in common It wasn't a good fit for the start of a sketch, because there was a lot of duplicated information, and a sketch starts at a point, not a line (two points). This adds a separate SketchStart struct which replaces the first use of BasePath. This means BasePath no longer needs to be a variant of Path, simplifying it.
- Loading branch information
1 parent
4a62862
commit fcf1d8f
Showing
3 changed files
with
44 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters