... double y, double s) { glBegin(GL_POLYGON); glVertex2d(x-s/2, ... glVertex3f(x1,y2,z1); glEnd(); //front glBegin(GL_POLYGON); glVertex3f(x1,y1,z1); ...
確定! 回上一頁