Hi,
I'm trying to recreate the Mark Kilgard editgrid.c example using QT4. The .cpp and .pro files should be attached. He draws an opengl grid and the mouse can interact directly with with the control points (in the glut window) to move the grid. His example deforms the grid, and doesn't use simple rotation such as the gears or opengl grabber exs.
I can draw the grid, and print control point hits to the console by selecting control points with the mouse, but I cannot seem to figure out how to get the grid to move.
myglwidget.cpp tries to preserve his original c functions by creating cpp vers of those, and then calling them from QT's paintGL, resizeGL, etc.
Any help really appreciated.
Thanks.