Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

glutIdleFunc(function)

Help
Jacky
2004-12-25
2013-04-17
  • Jacky
    Jacky
    2004-12-25

    Hi all,

    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"?

    Thanks,

    Jackeung

     
    • 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,
      HM