pub fn nearest_on_triangle<S: Real>( p: [S; 3], a: [S; 3], b: [S; 3], c: [S; 3], ) -> [S; 3]
The point of triangle abc nearest p. A triangle with no area answers the nearest point of its sides.
abc
p