可以這樣,用gl_line_loop 和gl_quads 各繪製一遍。 glbegin(gl_quads);. glvertex2f(..); // 左上. glvertex2f(...); // 右上. glvertex2f(.
確定! 回上一頁