title: How to draw a circle with OpenGL(LWJGL specifically) using VBOs
body: <p>I am currently learning LWJGL(LightWeight Java Game Library), the OpenGL-Java port, and am trying to figure out how to draw a circle using VBOs. </p>
  
  <p>When I search for code samples concerning my problem (I search OpenGL b/c the syntax of OpenGL &amp; LWJGL are quite similar), all I find is people using <code>glBegin(GL_QUADS)</code> and such, which I don't like due to its poor performance and its insufficiency. I know it uses thing like <code>Math.PI</code> and such(I've taken Geometry, the math is not the hard part in my opinion). </p>
  
  <p>I want to know how I would get the X and Y values I receive from using <code>Math.cos</code> &amp; <code>Math.sin</code> into the VBO, b/c when using <code>glDrawArrays</code>, you have to specify the number of vertices.</p>