I am taking a scripting class and we are working on OpenGL right now and since I missed the first session due to being out of town on business…I’m kind of lost. I am trying to write a program where the user can click down in a window and drag the mouse in order to create a circle. When the user unclicks/lets go of their mouse, the circle is completed and then visible on the screen. When the user clicks in another location, a new circle is created while the first dissapears.
So far i have only been able to create shapes in a window using OpenGL. I have been given some code involving the trigonometry to help me but as my name suggests, I am crap at coding. can anyone help me out?