Self Collision Detection

Has anybody implemented Self Collision detection of Cloth using OPENGL

Seems like something that would be deferred to a mesh or procedural geometry generator to me… Perhaps try the algorithms board?