@[email protected] to Learn [email protected] • 2 days agoHow to define lines and check on click which body is clicked?feddit.orgimagemessage-square9fedilinkarrow-up127arrow-down12file-text
arrow-up125arrow-down1imageHow to define lines and check on click which body is clicked?feddit.org@[email protected] to Learn [email protected] • 2 days agomessage-square9fedilinkfile-text
How can I define lines so when I click on the screen, my program knows whether I clicked on A B or C?
minus-square@ShortFuselink9•2 days agoThe long way is point in polygon: https://en.wikipedia.org/wiki/Point_in_polygon If you’re using web, the easy way is use SVG
The long way is point in polygon: https://en.wikipedia.org/wiki/Point_in_polygon
If you’re using web, the easy way is use SVG