title: What is the easiest way to draw line using OpenGL-ES (android)
body: <p>If I have custom renderer in opengl-es prepared:</p>
  
  <pre><code>public void onDrawFrame(GL10 gl)
  {
      gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);
      // here i want to draw line from [0, 0, 0] to [1, 0, 0]
  }
  </code></pre>
  
  <p>What is the easiest and shortest way to draw line?</p>
  
  <p>In ordinary OpenGL it is:</p>
  
  <pre><code>glBegin(GL_LINES);
      glVertex3f(0, 0, 0);
      glVertex3f(1, 0, 0);
  glEnd();
  </code></pre>
  
  <p>But how can i get the same effect with OpenGL ES?</p>