Change the GL_TRIANGLE_FAN to GL_QUADS. ... draw the 2D objects as shown in the following diagram using GL_TRIANGLE, GL_QUAD and GL_POLYGON.
確定! 回上一頁