To draw a triangle in legacy OpenGL, the code is as little as below: // Put these below glClear() glBegin(GL_TRIANGLES); glVertex2f(-0 ...
確定! 回上一頁