glMaterialfv(GL_FRONT,GL_AMBIENT,@ambient); glVertex3f(-0.4,-0.4,+0.4); ... glVertex3f(+0.4,+0.4,+0.4); glVertex3f(-0.4,+0.4,+0.4); glEnd;.
確定! 回上一頁