Do GLES have this glutIdleFunc function? Or other similar function?
I want my figure hit the target by pressing "a".
Is it correct that using glutIdleFunc in ugKeyboardFunc and play the hitting motion when pressing "a"?
Several of the redbook examples have an animation loop that is created by setting an idle function. Take a look at them.
Hope that helps,
Log in to post a comment.