glutSolidCube (1);. glPopMatrix();. } void display(). {. GLfloat pos[]={0,0,-1,0};. glLightfv(GL_LIGHT0,GL_POSITION,pos);.
確定! 回上一頁