title: glRotatef() - How to apply rotation in multiple axis?
body: <p>I am trying to rotate a cube 90 degrees on the Y axis, and then 90 degrees on the Z axis, but when I apply the rotation on the Z axis, it actually changes the angle only on the X axis.</p>
  
  <p>This is my code:</p>
  
  <pre><code>glRotatef(90.0, 0.0, 1.0, 0.0);
  glRotatef(90.0, 0.0, 0.0, 1.0);
  </code></pre>
  
  <p>What is the correct way to achieve the result I want - I.e. 90 degrees on Y and then 90 degrees on Z?</p>
  
  <p>Is there a good tutorial that explains how to use <code>glRotate()</code> correctly with examples?</p>