glVertex2i (x1,y1); glVertex2i(x2,y2); glEnd(); } void display(void) { glClear(GL_COLOR_BUFFER_BIT); glBegin(GL_LINES); glVertex2i(100,200);
確定! 回上一頁