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

     
    • Hans-Martin Will

      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

       

Log in to post a comment.