阅读背景:

对于使用OpenGL的程序,我需要类似于sleep函数的东西

来源:互联网 

I'm writing a game (Othello) on C++ using OpenGL graphics, and I need something to "wait" or "sleep" the game after the user places a piece. The CPU plays too fast right after the user plays, so is not possible to see user's move. I tried with sleep function but it's not working. Basically, the idea is:I'm writing a game (Othello) on C++ using OpenG




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: