Closest point on the triangle abc to the point p.
Vector2
a
b
c
p
'Real Time Collision Detection' by Christer Ericson, chapter 5.1, page 141
float3