先裝 Git Bash, 把專案clone
- git clone 網址
Step01-1
今天的程式 : timer
- 先把freeglut 再裝一次
- glutTimerFunc(等多久, timer,參數);
- 要準備好 void timer(int t){...}
- CodeBlocks: File-New-Project, GLUT專案 week14-1_timer
- 先把freeglut 再裝一次
- glutTimerFunc(等多久, timer,參數);
- 要準備好 void timer(int t){...}
- CodeBlocks: File-New-Project, GLUT專案 week14-1_timer
week14-2_timer_play 改用 keyboard()來觸發 timer()
而不要在main()裡直接觸發
沒有留言:
張貼留言