title: Java lwjgl plane border
body: <p>I am trying to make white square has blue border. I made double plane, but viewing such result seems strange messy white and blue. </p>
  
  <p>Is there good way to make border for square in 3D Java lwjgl?</p>
  
  <pre><code>    float d = 1;
      float f = 1;
      glColor3f(0, 0, 1);
      glBegin(GL_QUADS);
      glVertex3f(-d, f, -f);
      glVertex3f(-d, -f, -f);
      glVertex3f(-d, -f, f);
      glVertex3f(-d, f, f);
      glEnd();
  
      float d = 1;
      float f = 0.9f;
      glColor3f(1, 1, 1);
      glBegin(GL_QUADS);
      glVertex3f(-d, f, -f);
      glVertex3f(-d, -f, -f);
      glVertex3f(-d, -f, f);
      glVertex3f(-d, f, f);
      glEnd();
  </code></pre>