I am just wondering how the spindisplay spins the display by putting glutpostredisplay and glutIdleFunc in the mouse function which is used as a parameter with glutMouseFunc(mouse)?
the whole code is at the buttom of this link: http://www.glprogramming.com/red/chapter01.html
im an intermediate level programmer in c i have not programmed in opengl at all but i am interested and eager to learn.
The new stuff to me that blows me away is a function that has a parameter as a function.
but in this case i just want to know how spindisplay works with all the glCalls
I hope anyone here can Help
thanks
Kilopopo