Implementing the Gilbert–Johnson–Keerthi distance algorithm · HackerTrans