OpenGL/ C program that draws a polygon
need a program that allows the user to draw a 2D polygon in an OpenGl window, using the mouse then to draw an other polygon with a different color on top of the previous one, to play the role of a hole. The user should also be able to moved/drag the polygon, with the mouse, if he clicked inside the polygon and not on the hole.
This needs to be programmed in C not C++
Is this question part of your Assignment?
We can help
Our aim is to help you get A+ grades on your Coursework.
We handle assignments in a multiplicity of subject areas including Admission Essays, General Essays, Case Studies, Coursework, Dissertations, Editing, Research Papers, and Research proposals
Header Button Label: Get Started NowGet Started Header Button Label: View writing samplesView writing samples