Apparently you didn't read this before posting your assignment:
Homework Posting Tips
Please show your work. Tutors will not do your homework for you. Please show your work for any question that you are posting.
Write an OpenGL program that allows interactive creation of polygons via mouse input. That is, I click to create new vertices until I like the polygon, then make some indication (double click, right click, press a key, click a button; your choice) that I’m done, and the polygon is created
1 answer