2023年3月23日 星期四

Doning nothing losing life week06

 Week06

step01-1

開啟新的GLUT專案,並複製上週的Week05-2程式碼,並將程式碼改為茶壺自轉


    glutSolidSphere(0.01, 30, 30);

    glPushMatrix();
        glRotatef(angle,0,0,1);
        glTranslatef(0.45,0,0);
        glutSolidTeapot(0.3);
    glPopMatrix();



沒有留言:

張貼留言