You can use either GL_LINE_LOOP or GL_POLYGON to render the triangles and the rectangles. If you use GL_POLYGON, you will need to set the polygon mode to ...
確定! 回上一頁