OpenGL Graham scan program