Silicon Graphics

[Prev] [TOC] [Next]



(-) OpenGL Programming Guide
(-) Appendix EThe OpenGL Programming Guide Auxiliary Library

Running the Program

The examples in the book typically draw the scene each time the window is created, moved, or reshaped, or if some input event occurs. Use auxMainLoop() to specify the routine that draws the scene. void auxMainLoop(void(*displayFunc)(void));

Specifies the function, displayFunc, that's called when the window needs to be updated. displayFunc should redraw the objects in your scene.


[Prev] [TOC] [Next]

OpenGL Programming Guide


Maintained by Maintainer: Send e-mail to .htm">name@address.