After you have called glBegin, we actually define the vertices using glVertex2f(float xPosition, float yPosition): glBegin(GL_XYZ); glVertex2f(-1.0f,-0.5f); ...
確定! 回上一頁