Hi
Given a point on a triangle, what's the best way to calculate the nearest vertex to that point?
I'm thinking maybe there's a clever way of doing this or is it just a case of calculating the distance to each vertex in the tri, then comparing results to find the shortest distance?
Cheers.
Given a point on a triangle, what's the best way to calculate the nearest vertex to that point?
I'm thinking maybe there's a clever way of doing this or is it just a case of calculating the distance to each vertex in the tri, then comparing results to find the shortest distance?
Cheers.