Point inside a triangle
Monkey Forums/Monkey Code/Point inside a triangle
| ||
Hey guys, Here's a function that checks if a point is inside a triangle. It uses barycentric coordinates to speed things up. Here's a quick example to test it: Enjoy! :) |
|
| ||
Hey guys, Here's a function that checks if a point is inside a triangle. It uses barycentric coordinates to speed things up. Here's a quick example to test it: Enjoy! :) |