On Nov 26, 4:02 pm, Andrew Leach <[email protected]> wrote: > > What happens if two vertices lie outside the quad but the straight > line connecting them crosses it? > > Andrew
That actually crossed my mind also, but since that scenario is likely not gonna happen with this application I didn't think of it through. I guess I'd need to check if the polygons bounding box is less wide or high than my viewport and then, if so check if any of the vertices lie left to my viewport and right to it. Depending of course if we are doing a vertical or horizontal check. Would that work? I'm not too good with 2D physics =) -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
