keywords: Math, check if a point is inside a rectangle or triangle

Rectangle

https://math.stackexchange.com/questions/190111/how-to-check-if-a-point-is-inside-a-rectangle

Triangle

Check whether a point is within a 3D Triangle
https://math.stackexchange.com/questions/4322/check-whether-a-point-is-within-a-3d-triangle


Dont cry because it came to an end, smile because it happened. ― Gabriel Garcí­a Márquez