thought i could just do line intersection, but no, this doesn't catch the lines inside the polygon entirely
@whatisian ...and if there's no line segment collisions at all, then i feel like it'd be easy to test if the entire line is inside the shape
-
-
@theBanov@whatisian Yeah, just see if either point is inside. Actually you could check both points before checking lines if that's faster. -
@SeeBeeWhitman
@theBanov well, since both points always occur on the polygon's perimeter, this doesn't quite work - Antwoorden weergeven
Nieuw gesprek -
Het laden lijkt wat langer te duren.
Twitter is mogelijk overbelast of ondervindt een tijdelijke onderbreking. Probeer het opnieuw of bekijk de Twitter-status voor meer informatie.