2023年3月22日 星期三

呱! - Week06 - 階層的轉動(T-R-T)🦆

Week06



step01





-1


*考試題目*




glPushMatrix();
    glTranslatef(1,-1,0);///(2)新座標
    glRotatef(-20,0,0,1);///(3)轉動角度(順時針移動為負)
    glTranslatef(0.5,1,0);///(1)把轉動點改為中心點(負為正、正為負)
    drawHand();
glPopMatrix();


-2



step02-1





-3




step02-2_更多階層轉動





-4



step03





-5




step03-2




-6



step03-3





-7




安裝Git GitBash
-cd desktop
-git clone https://github.com/Owoyayou/2023graphicsa
-cd 2023graphicsa
-start .
  (打開2023graphicsa資料夾,把今日程式碼檔案放進來)
-git add .
-git status
(開啟檔案總管)
-git config --global user.email ______________
-git config --global user.name Owoyayou
-git commit -m "week06"
-git push

沒有留言:

張貼留言