Consider the 2D object shown in the figure below, the six vertices and corresponding coordinates…
Consider the 2D object shown in the figure below, the six vertices and corresponding coordinates
are illustrated in the figure. The display function in the left draws the shape defined by these six
vertices using the GL_QUADS. Complete the missing code segment in the function using
glVertex2fv command to get the shape on the right.
Attachments: