Maths genius needed...

Blitz3D Forums/Blitz3D Programming/Maths genius needed...

JA2(Posted 2007) [#1]
I pinched a function from the code archives to help define a shape made with points. If I were to make another point (not part of the shape), how could I tell if it was inside or outside of the shape?




Floyd(Posted 2007) [#2]
Here's some code to check if a point is inside a polygon. This is based on BlitzMax question.





JA2(Posted 2007) [#3]
That's great!! Thank you very much :)