Some sample code. Display(){ … glMatrixMode(GL_MODELVIEW); ... about the vector (x,y,z). ▫ Ex. glRotatef(45.0, 0.0, 0.0, 1.0); ... Example 1. Display(){.
確定! 回上一頁