I'm done with Lesson 10, but there is something I don't understand.
Where is the Main Loop in the Code? Where does it start and end?
I know the program ends if anything returns FALSE, but I just don't see where the Loop is Located.
We initialize the Texture system and we setup the world by reading the World File, we also Initialize OpenGL and Create the Window.
I guess those previous functions are only ran once...
Then we have three functions, we Draw our Scene and then we read and deal with the Windows Events. Are these the Loops? If so what determines that?
Thanks guys. Love the Tutorials.
Edited by Cydriic, 20 June 2014 - 07:54 PM.