Hi list, I am writing a game and I'm slightly unsure about whether to
register my main game loop with the 'glutDisplayFunc,' 'glutIdleFunc,' or
both. Of course, I've got to have the display one somewhere, but should I
register the same function for both callbacks, or split my main loop into
game logic and rendering?
That last option seems sometimes to make more sense, sometimes alot less
sense... I must admit I have never written games on a low enough level to be
concerned with interactions between the window and the windowing-system.
What is the best way to do this?