closestPointToPoint
Returns the closest point on the triangle to the given point.
Return
The closest point on the triangle.
Parameters
p
The point to compute the closest point for.
target
The target vector that is used to store the method's result.