-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add Drawable support for curves #109
Milestone
Comments
14 tasks
lucasstarsz
added a commit
to lucasstarsz/FastJ
that referenced
this issue
May 9, 2022
New Additions: - Created Pair class to handle returning 2 values at once, for generating point meshes with curves.
lucasstarsz
added a commit
to lucasstarsz/FastJ
that referenced
this issue
May 9, 2022
New Additions: - Support for converting Path2D objects with curves and multiple subpaths to Pointf[] arrays (with optional `alternateIndexes` stored in paired `Point[]`) - `DrawUtil#pointsOfPathWithAlt` specifically for getting both the points of the path and indicators of where curves/other path related functions are - Support for writing/reading polygons with curves with .psdf files Breaking Changes: - `DrawUtil#pointsOfPath` and variants no longer throw exceptions on unclosed paths. Bug Fixes: - (minor) Fixed issue in `DrawUtil#createPath` where `altIndexes` was not checked for emptiness Other Changes: - Optimized usages of `Polygon2D#getPoints` to be less taxing for standard tasks
lucasstarsz
added a commit
that referenced
this issue
May 9, 2022
lucasstarsz
added a commit
that referenced
this issue
May 9, 2022
New Additions: - Support for converting Path2D objects with curves and multiple subpaths to Pointf[] arrays (with optional `alternateIndexes` stored in paired `Point[]`) - `DrawUtil#pointsOfPathWithAlt` specifically for getting both the points of the path and indicators of where curves/other path related functions are - Support for writing/reading polygons with curves with .psdf files Breaking Changes: - `DrawUtil#pointsOfPath` and variants no longer throw exceptions on unclosed paths. Bug Fixes: - (minor) Fixed issue in `DrawUtil#createPath` where `altIndexes` was not checked for emptiness Other Changes: - Optimized usages of `Polygon2D#getPoints` to be less taxing for standard tasks
lucasstarsz
added a commit
to lucasstarsz/FastJ
that referenced
this issue
May 9, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As FastJ's drawable system grows, curves need to be supported by all polygons. The following tasks should be completed:
The text was updated successfully, but these errors were encountered: