polygonFill implementing the line-scan alogrithm to fill polygon. using glfw and glew demo left-click to create the edges of polygons and right-click to finish the painting.