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

Update readme to clarify if vertices are output in clockwise or counterclockwise order. #156

Open
ILOVEPIE opened this issue May 12, 2022 · 4 comments
Labels

Comments

@ILOVEPIE
Copy link

I'm trying to use this in a project and haven't been able to determine which order the vertices are being output. It seems to be clockwise but I'm getting some weird behavior.

@Giwayume
Copy link

Clockwise or counter-clockwise depends on your coordinate space.

@ILOVEPIE
Copy link
Author

Can you be more specific.

@Giwayume
Copy link

In a coordinate system where -y is pointed up, a clockwise check for a set of points forming a polygon will be the opposite from a coordinate system where +y is pointed up.

@ILOVEPIE
Copy link
Author

ILOVEPIE commented Dec 27, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants