Is point inside a convex shape?


/ Published in: ActionScript 3
Save to your folder(s)

The convex polygon algorithm, which, as the name says, only works for convex polygons and is based on whether or not a point is on a certain “side” of every edge of the polygon.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.