title: How to draw circle in opengles
body: <p>Here is my part of code to show circle on screen but unfortunate circle is not coming on screen.</p>
  
  <pre><code>glClearColor(0, 0, 0, 0);
  glClear(GL_COLOR_BUFFER_BIT);
   glPushMatrix();
  glLoadIdentity();
   glColor3f(0.0f,1.0f,0.0f);
  glBegin(GL_LINE_LOOP);
  
  const float DEG2RAD = 3.14159/180;
  
  for (int i=0; i &lt; 360; i++)
  {
      float degInRad = i*DEG2RAD;
      glVertex2f(cos(degInRad)*8,sin(degInRad)*8);
  }
  
   glEnd();
  glFlush();
  </code></pre>
  
  <p>I am not understanding code is seems to look ok but circle is not coming on screen.</p>