|
resizeGL()This function sets up the viewport for my scene. It is pretty standard stuff, in many cases you can simply copy this into your own program.
paintGL()This function draws the scene whenever necessary. It also does the rotation. As you can see, it calls the display list I made in initializeGL().
Comment List
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||