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

Support non-convex polygons in EyeMasks #587

Open
smunaut opened this issue May 3, 2023 · 0 comments
Open

Support non-convex polygons in EyeMasks #587

smunaut opened this issue May 3, 2023 · 0 comments

Comments

@smunaut
Copy link
Contributor

smunaut commented May 3, 2023

Title says it all.

The old glscopeclient worked because Cairo handles the drawing.
In nglscopeclient it uses ImGUI and this only handles convex polygons, so tesselation is needed.

Related ImGUI issue and a ISC licensed, header only library to convert arbitrary polygon to triangles :

ocornut/imgui#760
https://github.com/mapbox/earcut.hpp

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

No branches or pull requests

1 participant