-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Fill function is not working for certain orientations in WEBGL #4789
Comments
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already. |
What do you mean by changing the last vertex to (0, 100, 0)? Like the last vertex(), or something in the quadraticVertex(), or... |
Ohhhh... You just have to comment out the translate() on line 8, and change the quadraticVertex() on line 19 to |
I would like to work on this issue |
Thanks @vulongphan I just assigned you. |
Hi! This should be fixed as of #5914, so I'm going to close this for organizational purposes. This is not yet released, but once the next p5 version is out (greater than 1.5.0), feel free to open this again if you notice any further issues! |
When I combine lines and curves, there are certain orientations where the
fill
function doesn't work properly. In the example below, I draw that shape (that is one of the stickers of the Ivy cube) horizontally and it doesn't fill the shape, but vertically it does. What is happening here?Most appropriate sub-area of p5.js?
Details about the bug:
If we change the last vertex to (0, 100, 0), it works.
The text was updated successfully, but these errors were encountered: