Change the GL_POLYGON to GL_LINE_LOOP/GL_LINES/GL_LINE_STRIP/etc ... (Hint: Before the glBegin(GL_POLYGON); line put a glTranslatef(x, y, z); and glScalef(x ...
確定! 回上一頁