I have a list of points in opengl and
I would connect they in hourglass sense for create a 2d poly.
There is a solid algorithm for do that?
what is hourglass sense ? You mean clockwise order ?
This is math, not OpenGL.
Convex is quite easy, general case is not. Can you detail more ?