News for hackers. Stuff that matters.
Re:Breaking down Amazon's mega dropdown by moron4hire on Wednesday March 06, 2013 @03:29PM (#5333644)
And if you have any convex polygon as an ordered, circular list of points proceeding clockwise, then you can easily loop around the points checking your cross product values making sure they are all greater than 0 to determine if the point is in the polygon. You'll have to tessalate concave polygons into a list of convex polygons, but that's eaaaaaasy ;)

There are no comments on this comment yet.