title: Drawing a cube in a glOrtho() view?
body: <p>I'm developing an 4 split viewer in OpenGL. One view is a perspective view, the other ones are for orthogonal projections (front, left, top).</p>
  
  <p>I wrote a method that draws a cube from (-1,-1,-1) to (1,1,1) and it works well in the perspective view, but i can't get it to work in my views that use glOrtho(...).</p>
  
  <p>Right now I set it up like this:</p>
  
  <pre><code>    glOrtho(0, width, height, 0, 0, 1);
  </code></pre>
  
  <p>The funny thing is, that the view doesn't show the cube at all. I implemented a border for the view in OpenGL which gets shown correctly though.</p>
  
  <p>I'm using Qt and wrote a derived class of QGLWidget.</p>