glColor3f(1, 0.5, 0) glBegin(GL_TRIANGLES) glVertex2f(0, 0) glVertex2f(1, 0) glVertex2f(0.5, 0.5) glEnd()