-
-
Notifications
You must be signed in to change notification settings - Fork 913
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Remove counterclockwise order requirement for PolygonComponent …
…vertices (#3352) The documentation used to require that lists of vertices in PolygonComponent (and its subclass PolygonHitbox) should be in counterclockwise order. This is no more necessary because the implementation is robust: https://github.com/flame-engine/flame/blob/main/packages/flame/lib/src/geometry/polygon_component.dart#L122-L124 Moreover, the wording was a bit confusing (the example looks clockwise). The paragraphs mentioning the vertex order were deleted altogether.
- Loading branch information
1 parent
cf5358c
commit 14b8801
Showing
3 changed files
with
2 additions
and
7 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.