void drawBox(). {. glColor3f(1.0f, 0.0f, 0.0f);. glBegin(GL_LINE_LOOP);. glVertex3f(-1.0f, -1.0f, -1.0f);. glVertex3f(1.0f, -1.0f, -1.0f);.
確定! 回上一頁