2020年4月28日 星期二

week10

加入timer讓程式延遲一秒執行
void timer(int t)
{
    glutTimerFunc(33,timer,t+1);
    ///angle++;
    glutPostRedisplay();
}
   glutTimerFunc(1000,timer,0);
老師自製的T-R-T
去fb複製程式碼

沒有留言:

張貼留言