I have a surface which is a polyhedron and I want to find the minimal distance between it and a given point P. Since the polyhedron is defined by many
Implementations of Gilbert–Johnson–Keerthi: http://www.comlab.ox.ac.uk/stephen.cameron/distances/gjk2.4/ http://code.google.com/p/gjkd/