[gameprogrammer] 2D math question

Is there any generic math expression I could use to know if a given point Po
(xo, yo) belongs to/is inside of convex polygon with 'n' vertex (where n >
2)? Maybe if I have have a function for n==3, I could split my polygon in
several triangles, right?

Thanks,
Dirso


---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: