I’m new to programming in OpenGL, so this might be a dumb question. Can you resize a polygon at runtime with the mouse? My program has some polygons drawn and I want to adjust the size of them while it’s running.
If this question doesn’t make any sense, let me know and I’ll try to be clearer.
To be more specific, you keep track of the points of your polygon, resize them as you need to, then redraw the scene. Once a triangle is drawn, you can’t just resize it without redrawing.