 <p>There are two reasons nothing happens:</p> <ol> <li>You add 0.5 to an int. An int represents <em>whole numbers</em>. So you basically add 0 at every increment of <code>angleHead</code></li> <li>After calling <code>glTranslatef()</code> you again call <code>glLoadIdentity()</code> which resets your translation in <code>glTranslatef()</code></li> </ol>