一定要在idleFunc中glutPostRedisplay();

否则displayFunc只会在windows窗体需要刷新时做。

 

ps,Nehe的教程虽然引用了glut,但没用它。-_-b 

相关文章: