You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has to be fixed. many times we divide by x2-x1 or y2-y1 and that will error out.
My idea is to implement a new check function to add inside the pgLine_FromObject function after the line attributes are set that checks their validity. if not it will error out.
The text was updated successfully, but these errors were encountered:
Right now we allow having a "point" line segment:
This has to be fixed. many times we divide by
x2-x1
ory2-y1
and that will error out.My idea is to implement a new check function to add inside the pgLine_FromObject function after the line attributes are set that checks their validity. if not it will error out.
The text was updated successfully, but these errors were encountered: