Basic 2D Drawing
where mode = GL_POINTS, GL_LINES, GL_LINE_STRIP, GL_POLYGON, GL_LINE_LOOP, etc.
Lines of zero length are not visible.
A vertex is considered to be just a location with zero mass.
Only 10 of the OpenGL functions are legal for use between glBegin and glEnd.
where group = GL_CURRENT_BIT, GL_ENABLE_BIT, GL_LINE_BIT, GL_POLYGON_BIT, etc.
where font = GLUT_BITMAP_8_BY_13, GLUT_BITMAP_HELVETICA_10, etc.
where mode = GLUT_SINGLE or GLUT_DOUBLE.
where button = GLUT_RIGHT_BUTTON or GLUT_LEFT_BUTTON.